home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / scrnsave / makefile < prev    next >
Makefile  |  1997-10-15  |  526b  |  21 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. !if "$(CPU)" == "i386"
  6. cflags = $(cflags) -D_CRTAPI1=_cdecl -D_CRTAPI2=_cdecl
  7. !else
  8. cflags = $(cflags) -D_CRTAPI1= -D_CRTAPI2=
  9. !endif
  10.  
  11. all: scrnsave.lib
  12.  
  13. cparrow.obj: cparrow.c
  14.     $(cc) $(cflags) $(cvars) $(cdebug) $(scall) cparrow.c
  15.  
  16. skeleton.obj: skeleton.c
  17.     $(cc) $(cflags) $(cvars) $(cdebug) $(scall) skeleton.c
  18.  
  19. scrnsave.lib: skeleton.obj cparrow.obj
  20.     $(implib) -machine:$(CPU) -out:scrnsave.lib skeleton.obj cparrow.obj
  21.