home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / dlc / makefile < prev    next >
Makefile  |  1996-04-21  |  583b  |  26 lines

  1. # Some nmake macros for Win32 apps development
  2.  
  3. TARGETOS=WINNT
  4. SEHMAP=TRUE
  5.  
  6. !include <ntwin32.mak>
  7.  
  8. # application specific C defines
  9.  
  10. cf = -DDBG
  11.  
  12. all: simplex.exe
  13.  
  14. # Update the object file if necessary
  15.  
  16. simplex.obj: simplex.c
  17.     $(cc) $(cflags) $(cvars) $(cdebug) $(cf) simplex.c
  18.  
  19. dlcdebug.obj: dlcdebug.c dlcdebug.h 
  20.     $(cc) $(cflags) $(cvars) $(cdebug) $(cf) dlcdebug.c
  21.  
  22. # Update the executable file if necessary
  23.  
  24. simplex.exe: simplex.obj dlcdebug.obj
  25.     $(link) $(linkdebug) $(conflags) -out:simplex.exe simplex.obj dlcdebug.obj $(conlibs) dlcapi.lib
  26.