home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / sna / rui3270 / nrui3270.mak < prev    next >
Makefile  |  1997-04-09  |  724b  |  26 lines

  1. !include <ntwin32.MAK>
  2.  
  3. !if "$(ISVLIBS)"==""
  4. !error "Set ISVLIBS to the directory containing WINRUI.LIB and WINCSV.LIB
  5. !endif
  6. !if "$(ISVINCS)"==""
  7. !error "Set ISVINCS to the directory containing WINRUI.H and WINCSV.H"
  8. !endif
  9.  
  10. snalibs = $(ISVLIBS)\winrui32.lib $(ISVLIBS)\wincsv32.lib $(ISVLIBS)\fmistr32.lib
  11. headers  = $(ISVINCS)\winrui.h   \
  12.            $(ISVINCS)\wincsv.h
  13.  
  14. INCLUDE = $(INCLUDE);$(ISVINCS);
  15.  
  16. all: wrui3270.exe
  17.  
  18. # Update the object files if necessary
  19.  
  20. rui3270.obj: rui3270.c $(headers)
  21.     $(cc) $(cflags) $(cvarsmt) $(cdebug) -Forui3270.obj rui3270.c
  22.  
  23. wrui3270.exe: rui3270.obj $(snalibs)
  24.     $(link) $(linkdebug) $(conlflags) rui3270.obj $(snalibs) $(conlibsmt) -out:wrui3270.exe
  25.  
  26.