home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / winnt / netapi / netsmple / makefile next >
Encoding:
Makefile  |  1997-10-15  |  467 b   |  21 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. TARGETOS=WINNT
  4. APPVER=4.0
  5.  
  6. !include <ntwin32.mak>
  7.  
  8. !if "$(CPU)" == "i386"
  9. cflags = $(cflags) -D_CRTAPI1=_cdecl -D_CRTAPI2=_cdecl
  10. !else
  11. cflags = $(cflags) -D_CRTAPI1= -D_CRTAPI2=
  12. !endif
  13.  
  14. all: netsmple.exe
  15.  
  16. netsmple.obj: netsmple.c
  17.     $(cc) $(cflags) $(cvars) -Zi -Od netsmple.c
  18.  
  19. netsmple.exe: netsmple.obj
  20.     $(link) $(linkdebug) $(conflags) -out:netsmple.exe netsmple.obj $(conlibs) netapi32.lib
  21.