home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / wpj_mag / wpjv1n4.zip / ROD.ZIP / TESTLIB.MAK < prev    next >
Makefile  |  1993-01-27  |  718b  |  33 lines

  1. # testlib.mak: makefile for DLL test
  2.  
  3. # compile option flags
  4. # /c         compile without linking
  5. # /AMw        medium model
  6. # /Gsw        s: remove stack probes
  7. #        w: generates entry/exit code for Windows
  8. # /Od        disables optimization
  9. # /W3        warning level 3
  10. # /Zip        i: generates symbolic pack data structures
  11.  
  12. ALL: testlib.dll
  13.  
  14. WLIB=libw mdllcew
  15. IMPLIBS=test
  16.  
  17. OBJS=testlib libentry
  18.  
  19. CFLAGS=-c -D LINT_ARGS -AMw -Gsw -Os -W3 -Zip -Od
  20.  
  21. LFLAGS=/NOD/CO/LI /align:16
  22.  
  23. testlib.obj: testlib.c dlls.h testlib.h
  24.     $(CC) $(CFLAGS) testlib.c
  25.  
  26. testlib.res: testlib.rc 
  27.     rc -r testlib.rc
  28.  
  29. testlib.dll: testlib.obj testlib.def
  30.     link $(OBJS), testlib.dll, testlib, $(WLIB) $(IMPLIBS) $(LFLAGS), testlib
  31.     rc testlib.dll
  32.  
  33.