home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / tlist / makefile < prev    next >
Makefile  |  1996-08-09  |  572b  |  33 lines

  1.  
  2. # Nmake macros for building Win32 applications
  3.  
  4. TARGETOS=WINNT
  5.  
  6. !include <ntwin32.mak>
  7.  
  8. # Inference rules
  9. .c.obj:
  10.     $(cc) $(cdebug) $(cflags) $(cvars) $<
  11. .obj.exe:
  12.     $(link) $(ldebug) $(conlflags) -out:$*.exe $** $(conlibs) user32.lib
  13.  
  14. # Target List
  15. All: tlist.exe kill.exe
  16.  
  17. # Source Objects
  18. kill.obj : kill.c
  19. tlist.obj : tlist.c
  20. common.obj : common.c
  21.  
  22. # Executables
  23. tlist.exe : tlist.obj common.obj
  24. kill.exe : kill.obj common.obj
  25.  
  26. # Clean up everything
  27. cleanall : clean
  28.     del *.exe
  29.  
  30. # Clean up everything except .exe files
  31. clean:
  32.     del *.obj
  33.