From 9c3ab681455e5dff1b9dd9c38299f1c06afa908b Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Mon, 20 Feb 2006 22:09:05 -0600 Subject: Imported from libpng-1.2.9beta1.tar --- scripts/makefile.bc32 | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'scripts/makefile.bc32') diff --git a/scripts/makefile.bc32 b/scripts/makefile.bc32 index 90b178bc7..04407dd17 100644 --- a/scripts/makefile.bc32 +++ b/scripts/makefile.bc32 @@ -17,14 +17,14 @@ CC=bcc32 LD=bcc32 LIB=tlib -#TARGET_CPU=6 -# 3 = 386, 4 = 486, 5 = Pentium etc. +# -3 = 386, -4 = 486, -5 = Pentium etc. !ifndef TARGET_CPU -TARGET_CPU=5 +#TARGET_CPU=-6 !endif # Use this if you don't want Borland's fancy exception handling -NOEHLIB=noeh32.lib +# (Caution: doesn't work with CBuilderX) +#NOEHLIB=noeh32.lib !ifdef DEBUG CDEBUG=-v @@ -40,14 +40,14 @@ CDEBUG=$(CDEBUG) -N LDEBUG=$(LDEBUG) -N !endif -# -X- turn on dependency generation in the object file -# -w set all warnings on # -O2 optimize for speed -# -Z global optimization -CFLAGS=-O2 -Z -X- -w -I$(ZLIB_DIR) -$(TARGET_CPU) $(CDEBUG) +# -d merge duplicate strings +# -k- turn off standard stack frame +# -w display all warnings +CFLAGS=-I$(ZLIB_DIR) -O2 -d -k- -w $(TARGET_CPU) $(CDEBUG) # -M generate map file -LDFLAGS=-M -L$(ZLIB_DIR) $(LDEBUG) +LDFLAGS=-L$(ZLIB_DIR) -M $(LDEBUG) ## Variables @@ -138,14 +138,15 @@ $(LIBOBJS), libpng | -# Clean up anything else you want +# Cleanup clean: -del *.obj - -del *.exe - -del *.lib + -del $(LIBNAME) + -del pngtest.exe -del *.lst -del *.map -del *.tds + -del pngout.png # End of makefile for libpng -- cgit v1.2.1