home *** CD-ROM | disk | FTP | other *** search
Makefile | 1989-11-21 | 1.1 KB | 45 lines |
- #
- # Makefile for compress.
- #
- # If memory usage is a problem under DOS, you may want to do a
- #
- # "exemod compress.exe /MAX 0"
- #
- # in order to reduce the size of the near heap. If this is done on the
- # Microsoft executable, memory requirements drop to about 380K from 410K
- # Depending on how the other compilers manage their near/far heaps, this
- # should have similar results there as well.
- #
-
- DOSDEFS = -Di8088 -DMSDOS -DPROTO
-
- #
- # Microsoft C 5.0 under MSDOS
- #
- # The resulting executable is faster by about 20% than either Turbo C,
- # or Zortech C.
- #
- compress.exe: compress.c
- cl -o compress.exe -W3 -Ox -DMSC $(DOSDEFS) compress.c
-
- #
- # Turbo C 2.0 under MSDOS
- #
- # compress.exe: compress.c
- # tcc -ecompress.exe -Z -O -G -w $(DOSDEFS) compress.c
-
- #
- # Zortech C under MSDOS
- #
- # compress.exe: compress.c
- # ztc -ocompress.exe -o $(DOSDEFS) compress.c
-
- #
- # Sun OS 3.5.
- # Compression is slightly slower than /usr/ucb/compress probably
- # because the compiler is doing lots of "extl"'s. Decompression
- # is slightly faster.
- #
- # compress: compress.c
- # cc -O -DBSD4_2 -o compress compress.c
-