summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:10:21 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:10:21 -0700
commit25e5325501edade156e897f95afdaa2be78ad9a3 (patch)
tree82687eec194357f9f94f6f137697ffd7a600c1cf /Makefile
parent23c69f10698301ae97709eb0bbfb371d66b99a08 (diff)
downloadzlib-0.95.tar.gz
zlib-0.95.tar.bz2
zlib-0.95.zip
zlib 0.95v0.95
Diffstat (limited to '')
-rw-r--r--Makefile.bor1
-rw-r--r--Makefile.msc1
-rw-r--r--Makefile.tc4
3 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.bor b/Makefile.bor
index 3a823d0..536b76d 100644
--- a/Makefile.bor
+++ b/Makefile.bor
@@ -2,6 +2,7 @@
2# Borland C++ ************ UNTESTED *********** 2# Borland C++ ************ UNTESTED ***********
3 3
4# To use, do "make -fmakefile.bor" 4# To use, do "make -fmakefile.bor"
5# To compile in small model, set below: MODEL=-ms
5 6
6# WARNING: the small model is supported but only for small values of 7# WARNING: the small model is supported but only for small values of
7# MAX_WBITS and MAX_MEM_LEVEL. For example: 8# MAX_WBITS and MAX_MEM_LEVEL. For example:
diff --git a/Makefile.msc b/Makefile.msc
index 335a4e1..3b7aabd 100644
--- a/Makefile.msc
+++ b/Makefile.msc
@@ -2,6 +2,7 @@
2# Microsoft C 5.1 or later 2# Microsoft C 5.1 or later
3 3
4# To use, do "make makefile.msc" 4# To use, do "make makefile.msc"
5# To compile in small model, set below: MODEL=-AS
5 6
6# If you wish to reduce the memory requirements (default 256K for big 7# If you wish to reduce the memory requirements (default 256K for big
7# objects plus a few K), you can add to CFLAGS below: 8# objects plus a few K), you can add to CFLAGS below:
diff --git a/Makefile.tc b/Makefile.tc
index ceed87d..a46ce73 100644
--- a/Makefile.tc
+++ b/Makefile.tc
@@ -2,10 +2,11 @@
2# TurboC 2.0 2# TurboC 2.0
3 3
4# To use, do "make -fmakefile.tc" 4# To use, do "make -fmakefile.tc"
5# To compile in small model, set below: MODEL=-ms
5 6
6# WARNING: the small model is supported but only for small values of 7# WARNING: the small model is supported but only for small values of
7# MAX_WBITS and MAX_MEM_LEVEL. For example: 8# MAX_WBITS and MAX_MEM_LEVEL. For example:
8# -DMAX_WBITS=11 -DDEF_WBITS=11 -DMAX_MEM_LEVEL=3 9# -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3
9# If you wish to reduce the memory requirements (default 256K for big 10# If you wish to reduce the memory requirements (default 256K for big
10# objects plus a few K), you can add to CFLAGS below: 11# objects plus a few K), you can add to CFLAGS below:
11# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14 12# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14
@@ -13,6 +14,7 @@
13 14
14# ------------- Turbo C 2.0 ------------- 15# ------------- Turbo C 2.0 -------------
15MODEL=-ml 16MODEL=-ml
17# CFLAGS=-O2 -G -Z $(MODEL) -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3
16CFLAGS=-O2 -G -Z $(MODEL) 18CFLAGS=-O2 -G -Z $(MODEL)
17CC=tcc -I\tc\include 19CC=tcc -I\tc\include
18LD=tcc -L\tc\lib 20LD=tcc -L\tc\lib