home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / INSTALL.ZIP / MAKEFILE < prev    next >
Text File  |  1989-11-30  |  881b  |  40 lines

  1. #===================================================================
  2. #          Example Installation Program Make File
  3. #             IBM C/2 Version 1.10
  4. #
  5. #===================================================================
  6.  
  7. CC = cl /c  /Alfu /G2s /W3 /Fs
  8.  
  9. #===================================================================
  10. #
  11. #  Default inference rules
  12. #
  13. #===================================================================
  14.  
  15. .c.obj:
  16.     $(CC) $*.c
  17.  
  18. .asm.obj:
  19.     masm $*.asm;
  20.  
  21. .rc.res:
  22.     rc    $*.rc
  23.  
  24. #===================================================================
  25. #
  26. #  Dependencies
  27. #
  28. #===================================================================
  29.  
  30. example.res: example.rc example.exe
  31.     rc    example.rc
  32.  
  33. example.exe: example.obj  example.lnk example.def
  34.     link /NOD @example.lnk
  35.  
  36. example.obj: example.c example.h
  37.     $(CC) example.c
  38.  
  39.  
  40.