home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / ipc / ddeml / clock / makefile < prev   
Makefile  |  1994-01-17  |  552b  |  21 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. all: clock.exe
  6.  
  7. # Update the resource if necessary
  8.  
  9. clockres.res: clockres.rc clock.dlg clock.ico
  10.     rc -r clockres.rc
  11.  
  12. # Update the object file if necessary
  13.  
  14. clock.obj: clock.c clock.h
  15.     $(cc) $(cflags) $(cvars) $(cdebug) clock.c
  16.  
  17. # Update the executable file if necessary, and if so, add the resource back in.
  18.  
  19. clock.exe: clock.obj clockres.res clock.def
  20.     $(link) $(linkdebug) $(guiflags) -out:clock.exe clock.obj clockres.res $(guilibs) advapi32.lib
  21.