home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-01-27 | 718 b | 33 lines |
- # testlib.mak: makefile for DLL test
-
- # compile option flags
- # /c compile without linking
- # /AMw medium model
- # /Gsw s: remove stack probes
- # w: generates entry/exit code for Windows
- # /Od disables optimization
- # /W3 warning level 3
- # /Zip i: generates symbolic pack data structures
-
- ALL: testlib.dll
-
- WLIB=libw mdllcew
- IMPLIBS=test
-
- OBJS=testlib libentry
-
- CFLAGS=-c -D LINT_ARGS -AMw -Gsw -Os -W3 -Zip -Od
-
- LFLAGS=/NOD/CO/LI /align:16
-
- testlib.obj: testlib.c dlls.h testlib.h
- $(CC) $(CFLAGS) testlib.c
-
- testlib.res: testlib.rc
- rc -r testlib.rc
-
- testlib.dll: testlib.obj testlib.def
- link $(OBJS), testlib.dll, testlib, $(WLIB) $(IMPLIBS) $(LFLAGS), testlib
- rc testlib.dll
-
-