diff options
Diffstat (limited to 'Makefile.tc')
-rw-r--r-- | Makefile.tc | 4 |
1 files changed, 3 insertions, 1 deletions
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 ------------- |
15 | MODEL=-ml | 16 | MODEL=-ml |
17 | # CFLAGS=-O2 -G -Z $(MODEL) -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 | ||
16 | CFLAGS=-O2 -G -Z $(MODEL) | 18 | CFLAGS=-O2 -G -Z $(MODEL) |
17 | CC=tcc -I\tc\include | 19 | CC=tcc -I\tc\include |
18 | LD=tcc -L\tc\lib | 20 | LD=tcc -L\tc\lib |