Makefile.os2 (muscle7.61) | : | Makefile.os2 (muscle7.62) | ||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
# make -f Makefile.os2 test | # make -f Makefile.os2 test | |||
# This makefile will build a static library z.lib, a shared library | # This makefile will build a static library z.lib, a shared library | |||
# z.dll and a import library zdll.lib. You can use either z.lib or | # z.dll and a import library zdll.lib. You can use either z.lib or | |||
# zdll.lib by specifying either -lz or -lzdll on gcc's command line | # zdll.lib by specifying either -lz or -lzdll on gcc's command line | |||
CC=gcc -Zomf -s | CC=gcc -Zomf -s | |||
CFLAGS=-O6 -Wall | CFLAGS=-O6 -Wall | |||
#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 | #CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 | |||
#CFLAGS=-g -DDEBUG | #CFLAGS=-g -DZLIB_DEBUG | |||
#CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ | #CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ | |||
# -Wstrict-prototypes -Wmissing-prototypes | # -Wstrict-prototypes -Wmissing-prototypes | |||
#################### BUG WARNING: ##################### | #################### BUG WARNING: ##################### | |||
## infcodes.c hits a bug in pgcc-1.0, so you have to use either | ## infcodes.c hits a bug in pgcc-1.0, so you have to use either | |||
## -O# where # <= 4 or one of (-fno-ommit-frame-pointer or -fno-force-mem) | ## -O# where # <= 4 or one of (-fno-ommit-frame-pointer or -fno-force-mem) | |||
## This bug is reportedly fixed in pgcc >1.0, but this was not tested | ## This bug is reportedly fixed in pgcc >1.0, but this was not tested | |||
CFLAGS+=-fno-force-mem | CFLAGS+=-fno-force-mem | |||
LDFLAGS=-s -L. -lzdll -Zcrtdll | LDFLAGS=-s -L. -lzdll -Zcrtdll | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |