home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mmtest.zip / MMTEST next >
Text File  |  1994-04-21  |  704b  |  36 lines

  1.  
  2. # make file for compiling and linking PM example programs and labs
  3.  
  4. #************** define C compiler switches
  5.  
  6. clflags = /C /Ti /Kb /Ss
  7.  
  8. #       /c      compile only (no link)
  9. #       /Ti     include debug info;
  10. #       /Kb     basic warning messages
  11.  
  12. #************** define linker switches
  13.  
  14. lflags = /CO
  15.  
  16. #       /CO     emit CodeView (debug) info into .EXE
  17.  
  18. #************** define rules for compiling .C and .RC files
  19.  
  20. .c.obj:
  21.   icc $(clflags) $*.c
  22.  
  23. .rc.res:
  24.   rc -r $*.rc
  25.  
  26. #************** define dependencies
  27.  
  28. mmtest.exe:     mmtest.obj mmtest.res
  29.    link386 mmtest.obj  $(lflags) ,,,,mmtest.def
  30.    rc mmtest.res
  31.  
  32. mmtest.obj:   mmtest.c
  33.  
  34. mmtest.res:   mmtest.rc
  35.  
  36.