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 / sli3270 / nsli3270.mak < prev    next >
Makefile  |  1997-04-09  |  704b  |  26 lines

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