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 / orui3270.mak < prev    next >
Text File  |  1997-04-09  |  852b  |  36 lines

  1.  
  2.  
  3. #
  4. #  You should have previously set LIB and INCLUDE environment variables
  5. #  referencing your C compiler and OS/2 Toolkit subdirectories.
  6. #  Consult your compiler documentation and OS/2 Toolkit documentation
  7. #  for instructions on defining these variables.
  8. #
  9.  
  10. !if "$(ISVLIBS)"==""
  11. !error "Set ISVLIBS to the directory containing ACS.LIB
  12. !endif
  13. !if "$(ISVINCS)"==""
  14. !error "Set ISVINCS to the directory containing LUA_C.H and ACSSVCC.H"
  15. !endif
  16.  
  17. C_OPTIONS = -c -AL -G2 -Ongt -W2 -Zlp -DOS2 -DDOS5
  18.  
  19. LIBLIST = doscalls llibcmt $(ISVLIBS)\acs.lib /NOD
  20. MAP = NUL
  21. LINK_OPTIONS = /EXEPACK /ST:8000 /PMTYPE:vio /CO
  22. INCLUDE = $(ISVINCS);$(INCLUDE);
  23.  
  24.  
  25. rui3270: rui3270.exe
  26.  
  27. rui3270.EXE: rui3270.OBJ
  28.         LINK rui3270.OBJ $(LINK_OPTIONS), $*, $(MAP), $(LIBLIST) , ;
  29.  
  30. rui3270.OBJ: rui3270.c
  31.         CL $(C_OPTIONS) $*.C
  32.  
  33.  
  34.  
  35. 
  36.