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 / textfx / makefile < prev    next >
Makefile  |  1995-04-01  |  631b  |  25 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <win32.mak>
  4.  
  5. all: textfx.exe
  6.  
  7.  
  8. # Update the resource if necessary
  9. textfx.res: textfx.rc textfx.h resource.h
  10.     rc -r -fo textfx.res textfx.rc
  11.  
  12. # Inference rule for updating the object files
  13. .c.obj:
  14.   $(cc) $(cdebug) $(cflags) $(cvars) $*.c
  15.  
  16. # Update the executable file if necessary, and if so, add the resource back in.
  17. textfx.exe: textfx.obj fx.obj guide.obj textfx.res
  18.     $(link) $(linkdebug) $(guiflags) -out:textfx.exe \
  19.        textfx.obj fx.obj guide.obj textfx.res  $(guilibs)
  20.  
  21.  
  22. # Clean up everything except .exe
  23. clean:
  24.     del *.obj *.res
  25.