home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / PPPBCKP / SRC / SRC15B90.ZIP / MAKEFILE < prev    next >
Text File  |  1998-07-04  |  1KB  |  54 lines

  1. #
  2. # Makefile for PPP Project Files
  3. #
  4.  
  5. # Compiler flags
  6. # -ml       : Large memory model
  7. # -K        : Treat all characters as unsigned
  8. # -H-       : Do not generate or use precompiled headers
  9. # -N        : Test for stack overflow
  10. # -f        : Emulate 80x87 floating point
  11. # -v-       : No debug information in OBJ
  12. # -vi-      : No inline expansion
  13. # -Z        : Supress redundant loads during optimization
  14. # -1        : Generate 80186 instructions (real mode)
  15.  
  16. CFLAGS= -ml -v-
  17.  
  18. # Compiler (TCC or BCC)
  19.  
  20. CC= bcc $(CFLAGS)
  21.  
  22. # List of executables
  23.  
  24. all: network.exe networkp.exe pop.exe news.exe ntime.exe exp.exe uu.exe ppputil.exe pppurge.exe
  25.  
  26. # How to build each executable
  27.  
  28. network.exe: network.cpp version.h
  29.         $(CC) network.cpp
  30.  
  31. networkp.exe: network.cpp version.h
  32.         $(CC) -enetworkp -DPACKET network.cpp
  33.  
  34. pop.exe: pop.cpp version.h tcp.h
  35.         $(CC) -r- pop.cpp watt.lib
  36.  
  37. news.exe: news.cpp version.h tcp.h
  38.         $(CC) -r- news.cpp watt.lib
  39.  
  40. ntime.exe: ntime.cpp version.h tcp.h
  41.         $(CC) -r- ntime.cpp watt.lib
  42.  
  43. exp.exe: exp.cpp version.h
  44.         $(CC) exp.cpp
  45.  
  46. uu.exe: uu.cpp uumain.cpp version.h
  47.         $(CC) uu.cpp uumain.cpp
  48.  
  49. ppputil.exe: ppputil.cpp version.h
  50.         $(CC) ppputil.cpp
  51.  
  52. pppurge.exe: pppurge.cpp version.h
  53.         $(CC) pppurge.cpp
  54.