home *** CD-ROM | disk | FTP | other *** search
- #
- # This is a makefile for the old microsoft make.
- # Read comments in makefile. for more info.
- #
-
-
- OPT=-Od
- ZI=-Zepi
-
- # Compiler argument setup
-
- CARGS= -c -AS -W2 -Gsw $(OPT) $(ZI)
- CC=cl $(CARGS)
-
-
- # Inference rules
-
- .c.obj:
- $(CC) $*.c $(TEE)
-
-
-
- #
- # Stdio section
- #
-
- Stdio.obj: Stdio.c Stdio.h
- $(CC) $*.c $(TEE)
-
-
- Stdio.res: Stdio.rc Stdio.h stdio.ico stdiov.h
- rc -r Stdio.rc
-
-
- Stdio.exe: stdio.obj Stdio.def Stdio.res
- link5 /NOD /NOE /CO stdio.obj,Stdio.exe,,libw winpipe slibcew, Stdio.def;
- rc Stdio.res
-
-
- #
- # Testapp section
- #
-
- testapp.obj: testapp.c testapp.h testappv.h
- $(CC) $*.c $(TEE)
-
-
- testapp.res: testapp.rc testapp.h test.ico
- rc -r testapp.rc
-
-
- testapp.exe: testapp.obj testapp.def testapp.res
- link5 /NOD /NOE /CO testapp.obj,testapp.exe,,libw winpipe slibcew, testapp.def;
- rc testapp.res
-