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

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. TARGETOS=BOTH
  4. APPVER=4.0
  5. Proj=sa
  6.  
  7. all:SA.exe
  8.  
  9. !include <inetsdk.mak>
  10.  
  11. !if "$(CPU)" == "i386"
  12. cflags = $(cflags) -D_CRTAPI1=_cdecl -D_CRTAPI2=_cdecl
  13. !endif
  14.  
  15. sa.obj: sa.cpp
  16.     $(cc) $(cflags) $(cvars) $(cdebug) sa.cpp
  17.  
  18. sa.exe: sa.obj
  19.     $(link) $(lflags) $(ldebug) -out:sa.exe sa.obj $(olelibs) 
  20.  
  21.