home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / shell / traynot / makefile < prev    next >
Encoding:
Makefile  |  1995-02-03  |  578 b   |  24 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. TARGETOS=WIN95
  4. APPVER=4.0
  5.  
  6. !include <win32.mak>
  7.  
  8. all: traynot.exe
  9.  
  10. # Update the resource if necessary
  11.  
  12. app32.res: app32.rc app32.h resource.h
  13.     $(rc) $(rcflags) $(rcvars) app32.rc
  14.  
  15. # Update the object file if necessary
  16.  
  17. app32.obj: app32.c app32.h
  18.     $(cc) $(cflags) $(cvars) $(cdebug) app32.c
  19.  
  20. # Update the executable file if necessary, and if so, add the resource back in.
  21.  
  22. traynot.exe: app32.obj app32.res
  23.     $(link) $(linkdebug) $(guiflags) -out:app32.exe app32.obj app32.res $(guilibs) shell32.lib
  24.