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 / drui3270.mak next >
Text File  |  1997-04-09  |  844b  |  31 lines

  1.  
  2. #
  3. #  This makefile is intended for use for the Microsoft C Compiler,
  4. #  version 6.0.
  5. #
  6. #  You should have previously set LIB and INCLUDE environment variables
  7. #  referencing your C compiler subdirectories.  Consult your compiler
  8. #  documentation for instructions on defining these variables.
  9. #
  10.  
  11. !if "$(ISVLIBS)"==""
  12. !error "Set ISVLIBS to the directory containing DOSACS.LIB
  13. !endif
  14.  
  15. !if "$(ISVINCS)"==""
  16. !error "Set ISVINCS to the directory containing WINRUI.H and WINCSV.H"
  17. !endif
  18.  
  19. C_OPTIONS=/c /AS /Gc0s /Zp /W2 /D PDOS
  20. LIBLIST = $(ISVLIBS)\dosacs.lib slibce.lib
  21. INCLUDE = $(ISVINCS);$(INCLUDE);
  22.  
  23. MAP = nul
  24. LINK_OPTIONS = /NOD /EXEPACK
  25.  
  26. drui3270.EXE: rui3270.OBJ drui3270.mak
  27.         LINK rui3270.OBJ $(LINK_OPTIONS), $*, $(MAP), $(LIBLIST) , ;
  28.  
  29. rui3270.OBJ: rui3270.c drui3270.mak
  30.         CL $(C_OPTIONS) $*.C
  31.