home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / mscwattc / apps / makefile < prev    next >
Encoding:
Makefile  |  1992-02-17  |  1.5 KB  |  66 lines

  1. #
  2. #       Makefile for Waterloo TCP sample applications
  3. #
  4. #=================================================================
  5. # Modified for MSC600A - Economic Science Laboratory  01/10/92
  6. # University of Arizona
  7. #       Shawn LaMaster - lamaster@ziggy.econ.arizona.edu
  8. #       C.J. Kent      - 602 793-0467 (Digital Pager)
  9. #=================================================================
  10.  
  11. DEBUG= D        # set to D for disable, E for enable
  12. MODEL= L        # set to L for large, S for small
  13. IDEBUG= /Zi
  14. TEXTDEBUG=enabled
  15. CMODEL=/AL
  16. CLIB=..\elib\wattcplg.lib
  17. TEXTMODEL=large
  18. CFLAGS= $(CMODEL) $(IDEBUG) -I..\include
  19. CC= cl $(CFLAGS)
  20.  
  21. #
  22. #
  23. #  list of executables
  24. #
  25. #
  26.  
  27. .c.exe:
  28.         $(CC) /F 2800 $*.c $(CLIB)
  29.  
  30.  
  31. exes.arc: ping.exe daytime.exe finger.exe lpr.exe lpq.exe \
  32.         tcpport.exe rexec.exe ntime.exe tcpinfo.exe cookie.exe
  33.         echo done $(TEXTMODEL) make with debugging $(TEXTDEBUG)
  34.  
  35. cookie.exe: cookie.c
  36.  
  37. ping.exe: ping.c
  38.         $(CC) /F 2800 ping.c $(CLIB)
  39.  
  40. daytime.exe: daytime.c
  41. #        $(CC) daytime.c $(CLIB)
  42.  
  43. finger.exe: finger.c
  44.  
  45. lpr.exe: lpr.c
  46. #        $(CC)  lpr.c $(CLIB)
  47.  
  48. lpq.exe: lpq.c
  49. #        $(CC)  lpq.c $(CLIB)
  50.  
  51. tcpport.exe: tcpport.c ..\src\regpack.h
  52. #        $(CC)  tcpport.c $(CLIB)
  53.  
  54. # test version of tcpport
  55. tcpport1.exe: tcpport1.c
  56.         $(CC)  tcpport1.c  $(CLIB)
  57.  
  58. rexec.exe: rexec.c
  59.         $(CC)  rexec.c $(CLIB)
  60.  
  61. ntime.exe: ntime.c
  62.         $(CC)  ntime.c $(CLIB)
  63.  
  64. tcpinfo.exe: tcpinfo.c
  65.         $(CC)  tcpinfo.c $(CLIB)
  66.