home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware GOLD / NuclearComputingVol3No1.cdr / other / f1490 / stdio < prev    next >
Text File  |  1990-12-29  |  908b  |  55 lines

  1. #
  2. #   This is a makefile for the old microsoft make.
  3. #   Read comments in makefile. for more info.
  4. #
  5.  
  6.  
  7. OPT=-Od
  8. ZI=-Zepi
  9.  
  10. #    Compiler argument setup
  11.  
  12. CARGS= -c -AS -W2 -Gsw $(OPT) $(ZI)
  13. CC=cl $(CARGS)
  14.  
  15.  
  16. #    Inference rules
  17.  
  18. .c.obj:
  19.     $(CC) $*.c $(TEE)
  20.  
  21.  
  22.  
  23. #
  24. #   Stdio section
  25. #
  26.  
  27. Stdio.obj:     Stdio.c Stdio.h
  28.     $(CC) $*.c $(TEE)
  29.  
  30.  
  31. Stdio.res: Stdio.rc Stdio.h stdio.ico stdiov.h
  32.     rc -r Stdio.rc
  33.  
  34.  
  35. Stdio.exe: stdio.obj Stdio.def Stdio.res
  36.     link5 /NOD /NOE /CO stdio.obj,Stdio.exe,,libw winpipe slibcew, Stdio.def;
  37.     rc Stdio.res
  38.  
  39.  
  40. #
  41. #   Testapp section
  42. #
  43.  
  44. testapp.obj:       testapp.c testapp.h testappv.h
  45.     $(CC) $*.c $(TEE)
  46.  
  47.  
  48. testapp.res: testapp.rc testapp.h    test.ico
  49.     rc -r testapp.rc
  50.  
  51.  
  52. testapp.exe: testapp.obj testapp.def testapp.res
  53.     link5 /NOD /NOE /CO testapp.obj,testapp.exe,,libw winpipe slibcew, testapp.def;
  54.     rc testapp.res
  55.