home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / source / comp16.zoo / comp16.c / makefile < prev    next >
Encoding:
Makefile  |  1989-11-21  |  1.1 KB  |  45 lines

  1. #
  2. # Makefile for compress.
  3. #
  4. # If memory usage is a problem under DOS, you may want to do a
  5. #
  6. #    "exemod compress.exe /MAX 0"
  7. #
  8. # in order to reduce the size of the near heap. If this is done on the
  9. # Microsoft executable, memory requirements drop to about 380K from 410K
  10. # Depending on how the other compilers manage their near/far heaps, this
  11. # should have similar results there as well.
  12. #
  13.  
  14. DOSDEFS =  -Di8088 -DMSDOS -DPROTO
  15.  
  16. #
  17. # Microsoft C 5.0 under MSDOS
  18. #
  19. # The resulting executable is faster by about 20% than either Turbo C,
  20. # or Zortech C.
  21. #
  22. compress.exe: compress.c
  23.     cl -o compress.exe -W3 -Ox -DMSC $(DOSDEFS) compress.c
  24.  
  25. #
  26. # Turbo C 2.0 under MSDOS
  27. #
  28. # compress.exe: compress.c
  29. #     tcc -ecompress.exe -Z -O -G -w $(DOSDEFS) compress.c
  30.  
  31. #
  32. # Zortech C under MSDOS
  33. #
  34. # compress.exe: compress.c
  35. #     ztc -ocompress.exe -o $(DOSDEFS) compress.c
  36.  
  37. #
  38. # Sun OS 3.5.
  39. # Compression is slightly slower than /usr/ucb/compress probably
  40. # because the compiler is doing lots of "extl"'s. Decompression
  41. # is slightly faster.
  42. #
  43. # compress:    compress.c
  44. #     cc -O -DBSD4_2 -o compress compress.c
  45.