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 / ipxchat / makefile < prev    next >
Makefile  |  1996-07-05  |  1KB  |  50 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <win32.mak>
  4.  
  5. all: ipxchat.exe
  6.  
  7. # Update the resource if necessary
  8.  
  9. OBJS = ipxchat.obj about.obj dispatch.obj init.obj misc.obj winmain.obj listen.obj connect.obj
  10.  
  11. # Inference rules
  12. .c.obj:
  13.    $(cc) $(cflags) $(cvars) $(cdebug) $<
  14.  
  15.  
  16. # Dependencies
  17.  
  18. ipxchat.obj:  ipxchat.c
  19. about.obj:    about.c globals.h
  20. init.obj:     init.c globals.h
  21. dispatch.obj: dispatch.c globals.h
  22. misc.obj:     misc.c globals.h
  23. winmain.obj:  winmain.c globals.h
  24. listen.obj:   listen.c globals.h
  25. connect.obj:  connect.c globals.h
  26.  
  27.  
  28. ipxchat.res: ipxchat.rc globals.h
  29.     rc -r $(rcvars) ipxchat.rc
  30.  
  31. ipxchat.exe: $(OBJS) ipxchat.res
  32.    $(link)                                       \
  33.       $(linkdebug) $(guiflags)                   \
  34.           -out:ipxchat.exe                           \
  35.           $(OBJS)                                    \
  36.           ipxchat.res                                \
  37.           $(guilibs) version.lib
  38.  
  39.  
  40. clean:
  41.    del *.obj
  42.    del *.res
  43.    del *.bak
  44.    del *.pdb
  45.    del *.vcp
  46.    del *.mdp
  47.  
  48. cleaner: clean
  49.    del *.exe
  50.