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