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 / rnrsrv / makefile next >
Makefile  |  1997-10-15  |  450b  |  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=rnrsrv.obj
  14.  
  15. all: rnrsrv.exe
  16.  
  17. .c.obj:
  18.     $(cc) $(cdebug) $(cflags) $(cvars) $*.c
  19.  
  20. rnrsrv.exe: rnrsrv.obj
  21.    $(link) $(linkdebug) $(conflags) -out:rnrsrv.exe rnrsrv.obj ws2_32.lib mswsock.lib   $(conlibs)
  22.  
  23.