home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / winsock / rnr / rnrclnt / makefile next >
Makefile  |  1997-10-15  |  457b  |  23 lines

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