home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / gdi / reversi / makefile < prev    next >
Makefile  |  1995-02-14  |  642b  |  24 lines

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