Support CFLAGS via env var

This modification is intended to support building the package while
providing CFLAGS via the environment.
This commit is contained in:
Sergio Durigan Junior 2016-06-12 01:14:15 -04:00
parent aff966f603
commit 92a88934c1
73 changed files with 145 additions and 145 deletions

View File

@ -5,14 +5,14 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
# use following for UTF-8 support and add nl-utf8.o to the OBJS line
CFLAGS = -maix32 -Wall -pedantic -fno-strict-aliasing -Wno-uninitialized -Wno-long-long -c -O2 -DSUPPORT_UTF8 -DAIX
DEFAULT_CFLAGS = -maix32 -Wall -pedantic -fno-strict-aliasing -Wno-uninitialized -Wno-long-long -c -O2 -DSUPPORT_UTF8 -DAIX $(CFLAGS)
CC = gcc
default: $(OBJS)
$(CC) $(OBJS) -maix32 -lm -ldl -lrt -lnsl -o newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_aixILP32_utf8_gcc
#

View File

@ -5,14 +5,14 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
# use following for UTF-8 support and add nl-utf8.o to the OBJS line
CFLAGS = -maix64 -Wall -pedantic -fno-strict-aliasing -Wno-uninitialized -Wno-long-long -c -O2 -DNEWLISP64 -DSUPPORT_UTF8 -DAIX
DEFAULT_CFLAGS = -maix64 -Wall -pedantic -fno-strict-aliasing -Wno-uninitialized -Wno-long-long -c -O2 -DNEWLISP64 -DSUPPORT_UTF8 -DAIX $(CFLAGS)
CC = gcc
default: $(OBJS)
$(CC) $(OBJS) -maix64 -lm -ldl -lrt -lnsl -o newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_aixLP64_utf8_gcc
#

View File

@ -6,7 +6,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
# use following for UTF-8 support and add nl-utf8.o to the OBJS line
CFLAGS = -q64 -c -g -O2 -DNEWLISP64 -DSUPPORT_UTF8 -DAIX
DEFAULT_CFLAGS = -q64 -c -g -O2 -DNEWLISP64 -DSUPPORT_UTF8 -DAIX $(CFLAGS)
CC = xlc_r
@ -14,7 +14,7 @@ default: $(OBJS)
OBJECT_MODE=64 $(CC) $(OBJS) -lm -ldl -lrt -lnsl -o newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_aixLP64_utf8_xlc
#=====================================================================================

View File

@ -5,14 +5,14 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
# use following for UTF-8 support and add nl-utf8.o to the OBJS line
CFLAGS = -Wall -pedantic -fno-strict-aliasing -Wno-uninitialized -Wno-long-long -c -O2 -DSUPPORT_UTF8 -DAIX
DEFAULT_CFLAGS = -Wall -pedantic -fno-strict-aliasing -Wno-uninitialized -Wno-long-long -c -O2 -DSUPPORT_UTF8 -DAIX $(CFLAGS)
CC = gcc
default: $(OBJS)
$(CC) $(OBJS) -lm -ldl -lrt -lnsl -o newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_aix_utf8_gcc
#

View File

@ -7,14 +7,14 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
# use following for UTF-8 support and add nl-utf8.o to the OBJS line
CFLAGS = -c -g -O2 -DSUPPORT_UTF8 -DAIX
DEFAULT_CFLAGS = -c -g -O2 -DSUPPORT_UTF8 -DAIX $(CFLAGS)
CC = xlc_r
default: $(OBJS)
$(CC) $(OBJS) -lm -ldl -lrt -lnsl -o newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_aix_utf8_xlc
#=====================================================================================

View File

@ -9,7 +9,7 @@
OBJS = newlisp-amal.o pcre.o
CFLAGS = -Wall -m32 -O1 -I/usr/include -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DFFI
DEFAULT_CFLAGS = -Wall -m32 -O1 -I/usr/include -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DFFI $(CFLAGS)
CC = gcc
@ -18,7 +18,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
newlisp-amal.c:
cat newlisp.c nl-symbol.c nl-math.c nl-list.c nl-liststr.c nl-string.c nl-filesys.c \

View File

@ -6,7 +6,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
# the option -fno-strict-aliasing may not be available on some BSD versions
CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD
DEFAULT_CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD $(CFLAGS)
# or without readline lib
#CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -D_BSD
@ -19,7 +19,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_bsd

View File

@ -6,7 +6,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
# the option -fno-strict-aliasing may not be available on some BSD versions
CFLAGS = -m64 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -DNEWLISP64 -D_BSD
DEFAULT_CFLAGS = -m64 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -DNEWLISP64 -D_BSD $(CFLAGS)
# or without readline lib
#CFLAGS = -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DNEWLISP64 -D_BSD
@ -19,7 +19,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_bsdLP64

View File

@ -6,7 +6,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
# the option -fno-strict-aliasing may not be available on some BSD versions
CFLAGS = -m64 -Wall -Wno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD
DEFAULT_CFLAGS = -m64 -Wall -Wno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD $(CFLAGS)
# or without readline lib
#CFLAGS = -m64 -Wall -Wno-strict-aliasing -O2 -c -g -DNEWLISP64 -D_BSD
@ -19,7 +19,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_bsdLP64_utf8

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
# the option -fno-strict-aliasing may not be available on some BSD versions
CFLAGS = -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI
DEFAULT_CFLAGS = -m64 -Wall -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI $(CFLAGS)
# or without readline lib and libffi
#CFLAGS = -m64 -Wall -Wno-strict-aliasing -O2 -c -g -DNEWLISP64 -D_BSD
@ -19,7 +19,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_bsdLP64_utf8_ffi

View File

@ -3,7 +3,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o unix-lib.o
CFLAGS = -m64 -fPIC -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD -DNEWLISP64 -DSUPPORT_UTF8 -DLIBRARY
DEFAULT_CFLAGS = -m64 -fPIC -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD -DNEWLISP64 -DSUPPORT_UTF8 -DLIBRARY $(CFLAGS)
CC = cc
@ -12,7 +12,7 @@ default: $(OBJS)
strip newlisp.so
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_bsdLP64_utf8_lib

View File

@ -3,7 +3,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o unix-lib.o
CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD
DEFAULT_CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD $(CFLAGS)
CC = cc
@ -12,7 +12,7 @@ default: $(OBJS)
strip newlisp.so
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_bsd_lib

View File

@ -4,7 +4,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD -DSUPPORT_UTF8
DEFAULT_CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD -DSUPPORT_UTF8 $(CFLAGS)
# or without readline lib
#CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD -DSUPPORT_UTF8
@ -17,7 +17,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_bsd_utf8

View File

@ -5,7 +5,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -D_BSD -DSUPPORT_UTF8 -DFFI
DEFAULT_CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -I/usr/local/include -DREADLINE -D_BSD -DSUPPORT_UTF8 -DFFI $(CFLAGS)
# or without readline lib
#CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD -DSUPPORT_UTF8
@ -18,7 +18,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_bsd_utf8_ffi

View File

@ -3,7 +3,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o unix-lib.o
CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD -DSUPPORT_UTF8 -DLIBRARY
DEFAULT_CFLAGS = -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -D_BSD -DSUPPORT_UTF8 -DLIBRARY $(CFLAGS)
CC = cc
@ -12,7 +12,7 @@ default: $(OBJS)
strip newlisp.so
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_bsd_utf8_lib

View File

@ -18,7 +18,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DCYGWIN
DEFAULT_CFLAGS = -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DCYGWIN $(CFLAGS)
#CFLAGS = -m32 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DFFI -DCYGWIN
CC = gcc
@ -30,7 +30,7 @@ default: $(OBJS)
strip newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_cygwin

View File

@ -18,7 +18,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -m64 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DCYGWIN
DEFAULT_CFLAGS = -m64 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DCYGWIN $(CFLAGS)
#CFLAGS = -m64 -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DFFI -DCYGWIN
CC = gcc
@ -30,7 +30,7 @@ default: $(OBJS)
strip newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_cygwin

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o
CFLAGS = -m32 -Wall -O1 -c -DREADLINE -DMAC_OSX
DEFAULT_CFLAGS = -m32 -Wall -O1 -c -DREADLINE -DMAC_OSX $(CFLAGS)
CC = cc
@ -15,7 +15,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwin

View File

@ -7,7 +7,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -m64 -Wall -O1 -c -g -DREADLINE -DMAC_OSX -DNEWLISP64
DEFAULT_CFLAGS = -m64 -Wall -O1 -c -g -DREADLINE -DMAC_OSX -DNEWLISP64 $(CFLAGS)
CC = cc
@ -16,7 +16,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): newlisp.h primes.h protos.h makefile_darwinLP64

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -m64 -Wall -Oz -c -g -DREADLINE -DMAC_OSX -DNEWLISP64 -DSUPPORT_UTF8
DEFAULT_CFLAGS = -m64 -Wall -Oz -c -g -DREADLINE -DMAC_OSX -DNEWLISP64 -DSUPPORT_UTF8 $(CFLAGS)
CC = cc
@ -15,7 +15,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): newlisp.h primes.h protos.h makefile_darwinLP64_utf8

View File

@ -7,7 +7,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -m64 -mmacosx-version-min=10.6 -Wall -Oz -c -DREADLINE -DMAC_OSX -DNEWLISP64 -DSUPPORT_UTF8 -DFFI
DEFAULT_CFLAGS = -m64 -mmacosx-version-min=10.6 -Wall -Oz -c -DREADLINE -DMAC_OSX -DNEWLISP64 -DSUPPORT_UTF8 -DFFI $(CFLAGS)
CC = cc
@ -16,7 +16,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): newlisp.h primes.h protos.h makefile_darwinLP64_utf8_ffi

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o unix-lib.o
CFLAGS = -m64 -Wall -O1 -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DLIBRARY -DNEWLISP64
DEFAULT_CFLAGS = -m64 -Wall -O1 -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DLIBRARY -DNEWLISP64 $(CFLAGS)
CC = cc
@ -14,7 +14,7 @@ default: $(OBJS)
$(CC) $(OBJS) -m64 -lm -lreadline -bundle -o newlisp.dylib
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwinLP64_utf8_lib

View File

@ -29,7 +29,7 @@ SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
# -I$(SDKROOT)/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include
# -I$(SDKROOT)/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/
CFLAGS = -Wall -arch i386 -arch ppc -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -isysroot $(SDKROOT)
DEFAULT_CFLAGS = -Wall -arch i386 -arch ppc -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -isysroot $(SDKROOT) $(CFLAGS)
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
@ -41,7 +41,7 @@ default: $(OBJS)
# lipo newlisp-universal -output newlisp-ppc -thin ppc
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwin_universal_utf8_compat

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o
CFLAGS = -m32 -Wall -O1 -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8
DEFAULT_CFLAGS = -m32 -Wall -O1 -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 $(CFLAGS)
CC = cc
@ -15,7 +15,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwin_utf8

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o
CFLAGS = -m32 -Wall -O1 -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DFFI
DEFAULT_CFLAGS = -m32 -Wall -O1 -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DFFI $(CFLAGS)
CC = cc
#CC = gcc
@ -16,7 +16,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwin_utf8_ffi

View File

@ -14,7 +14,7 @@
CC = /usr/bin/gcc-4.2
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk
CFLAGS = -Wall -arch i386 -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -isysroot $(SDKROOT)
DEFAULT_CFLAGS = -Wall -arch i386 -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -isysroot $(SDKROOT) $(CFLAGS)
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
@ -24,7 +24,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwin_utf8_leopardIntel

View File

@ -14,7 +14,7 @@
CC = /usr/bin/gcc-4.2
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk
CFLAGS = -Wall -arch i386 -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DFFI -isysroot $(SDKROOT)
DEFAULT_CFLAGS = -Wall -arch i386 -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DFFI -isysroot $(SDKROOT) $(CFLAGS)
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
@ -24,7 +24,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwin_utf8_leopardIntel_ffi

View File

@ -19,7 +19,7 @@ CC = /usr/bin/gcc-4.2
# SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk
CFLAGS = -Wall -arch ppc -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -isysroot $(SDKROOT)
DEFAULT_CFLAGS = -Wall -arch ppc -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -isysroot $(SDKROOT) $(CFLAGS)
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
@ -29,7 +29,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwin_utf8_leopardPPC

View File

@ -19,7 +19,7 @@ CC = /usr/bin/gcc-4.2
# SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk
CFLAGS = -m32 -Wall -arch ppc -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DFFI -isysroot $(SDKROOT)
DEFAULT_CFLAGS = -m32 -Wall -arch ppc -Os -c -g -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DFFI -isysroot $(SDKROOT) $(CFLAGS)
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
@ -29,7 +29,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwin_utf8_leopardPPC_ffi

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o unix-lib.o
CFLAGS = -m32 -Wall -O1 -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DLIBRARY
DEFAULT_CFLAGS = -m32 -Wall -O1 -c -DREADLINE -DMAC_OSX -DSUPPORT_UTF8 -DLIBRARY $(CFLAGS)
CC = cc
@ -14,7 +14,7 @@ default: $(OBJS)
$(CC) $(OBJS) -m32 -lm -lreadline -bundle -o newlisp.dylib
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_darwin_utf8_lib

View File

@ -21,7 +21,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-web.o nl-xml-json.o nl-matrix.o nl-debug.o pcre.o nl-utf8.o unix-lib.o
CFLAGS = -m32 -Wall -c -DMAC_OSX -DLIBRARY -DEMSCRIPTEN -DSUPPORT_UTF8
DEFAULT_CFLAGS = -m32 -Wall -c -DMAC_OSX -DLIBRARY -DEMSCRIPTEN -DSUPPORT_UTF8 $(CFLAGS)
CC = emcc

View File

@ -7,7 +7,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
#CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DLINUX
CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX
DEFAULT_CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX $(CFLAGS)
CC = gcc
@ -19,7 +19,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DNEWLISP64 -DLINUX
DEFAULT_CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DNEWLISP64 -DLINUX $(CFLAGS)
CC = gcc
@ -18,6 +18,6 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linuxLP64

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DNEWLISP64 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include
DEFAULT_CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DNEWLISP64 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include $(CFLAGS)
CC = gcc
@ -18,6 +18,6 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linuxLP64_ffi

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o unix-lib.o
CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DLINUX -DNEWLISP64 -DLIBRARY
DEFAULT_CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DLINUX -DNEWLISP64 -DLIBRARY $(CFLAGS)
CC = gcc
@ -15,6 +15,6 @@ default: $(OBJS)
strip newlisp.so
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linuxLP64_lib

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX -DFFI -ILIBFFI_VERSION
DEFAULT_CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX -DFFI -ILIBFFI_VERSION $(CFLAGS)
CC = gcc
@ -15,7 +15,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linuxLP64_redhat_utf8_ffi

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX
DEFAULT_CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX $(CFLAGS)
CC = gcc
@ -18,6 +18,6 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linuxLP64_utf8

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include
DEFAULT_CFLAGS = -fPIC -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DNEWLISP64 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include $(CFLAGS)
# replace -O2 with -Oz when using clang/llvm
#CC = clang
@ -21,6 +21,6 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linuxLP64_utf8_ffi

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include
DEFAULT_CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include $(CFLAGS)
CC = gcc
@ -19,7 +19,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux_ffi

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o unix-lib.o
CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -DLINUX -DLIBRARY
DEFAULT_CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -DLINUX -DLIBRARY $(CFLAGS)
CC = gcc
@ -15,7 +15,7 @@ default: $(OBJS)
strip newlisp.so
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux_lib

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o unix-lib.o
CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -DLIBRARY -DSUPPORT_UTF8 -DLINUX
DEFAULT_CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -DLIBRARY -DSUPPORT_UTF8 -DLINUX $(CFLAGS)
CC = gcc
@ -15,7 +15,7 @@ default: $(OBJS)
strip newlisp.so
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux_lib_utf8

View File

@ -6,7 +6,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
#CFLAGS = -Wall -Wno-uninitialized -c -O2 -g -DLINUX
CFLAGS = -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX
DEFAULT_CFLAGS = -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX $(CFLAGS)
CC = gcc
@ -19,7 +19,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux_maemo_utf8

View File

@ -7,7 +7,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -Wall -Wl,--gc-sections -ffunction-sections -fdata-sections -c -Os -fno-threadsafe-statics -DLINUX -I$(TARGET_DIR)/usr/include/
DEFAULT_CFLAGS = -Wall -Wl,--gc-sections -ffunction-sections -fdata-sections -c -Os -fno-threadsafe-statics -DLINUX -I$(TARGET_DIR)/usr/include/ $(CFLAGS)
LDFLAGS = -L$(TARGET_DIR)/usr/lib/ -W1,--gc-sections -lm -ldl
CC = mips-openwrt-linux-gcc
LD = mips-openwrt-linux-ld
@ -21,7 +21,7 @@ default: $(OBJS)
mv newlisp_s newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux_openwrt

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -ILIBFFI_VERSION
DEFAULT_CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -ILIBFFI_VERSION $(CFLAGS)
CC = gcc
@ -15,7 +15,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux_redhat_utf8_ffi

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX
DEFAULT_CFLAGS = -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX $(CFLAGS)
CC = gcc
@ -18,7 +18,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux_utf8

View File

@ -6,7 +6,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -fPIC -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include
DEFAULT_CFLAGS = -fPIC -m32 -Wall -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DSUPPORT_UTF8 -DLINUX -DFFI -I/usr/local/lib/libffi-3.0.13/include $(CFLAGS)
CC = gcc
@ -18,7 +18,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_linux_utf8_ffi

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
win-util.o win-path.o
CFLAGS = -m32 -Wall -c -O1 -g -DWINDOWS
DEFAULT_CFLAGS = -m32 -Wall -c -O1 -g -DWINDOWS $(CFLAGS)
CC = gcc
STRIP = strip
@ -15,7 +15,7 @@ default: $(OBJS)
$(STRIP) newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h newlisp.h makefile_mingw

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
win-util.o win-path.o
CFLAGS = -m64 -Wall -c -O1 -g -DNEWLISP64 -DWINDOWS
DEFAULT_CFLAGS = -m64 -Wall -c -O1 -g -DNEWLISP64 -DWINDOWS $(CFLAGS)
CC = gcc
STRIP = strip
@ -15,7 +15,7 @@ default: $(OBJS)
$(STRIP) newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h newlisp.h makefile_mingw64

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
win-util.o win-path.o
CFLAGS = -m64 -Wall -c -O1 -g -DNEWLISP64 -DWINDOWS -DFFI
DEFAULT_CFLAGS = -m64 -Wall -c -O1 -g -DNEWLISP64 -DWINDOWS -DFFI $(CFLAGS)
CC = gcc
STRIP = strip
@ -15,7 +15,7 @@ default: $(OBJS)
$(STRIP) newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h newlisp.h makefile_mingw64_ffi

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
nl-utf8.o win-util.o win-path.o
CFLAGS = -m64 -Wall -c -O1 -g -DNEWLISP64 -DWINDOWS -DSUPPORT_UTF8
DEFAULT_CFLAGS = -m64 -Wall -c -O1 -g -DNEWLISP64 -DWINDOWS -DSUPPORT_UTF8 $(CFLAGS)
CC = gcc
STRIP = strip
@ -15,7 +15,7 @@ default: $(OBJS)
$(STRIP) newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h newlisp.h makefile_mingw64_utf8

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
nl-utf8.o win-util.o win-path.o
CFLAGS = -m64 -Wall -c -O1 -g -DNEWLISP64 -DWINDOWS -DSUPPORT_UTF8 -DFFI
DEFAULT_CFLAGS = -m64 -Wall -c -O1 -g -DNEWLISP64 -DWINDOWS -DSUPPORT_UTF8 -DFFI $(CFLAGS)
CC = gcc
STRIP = strip
@ -15,7 +15,7 @@ default: $(OBJS)
$(STRIP) newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h newlisp.h makefile_mingw64_utf8_ffi

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
win-util.o win-path.o win-dll.o
CFLAGS = -m64 -Wall -c -O1 -DNEWLISP64 -DWINDOWS -DLIBRARY
DEFAULT_CFLAGS = -m64 -Wall -c -O1 -DNEWLISP64 -DWINDOWS -DLIBRARY $(CFLAGS)
CC = gcc
STRIP = strip
@ -17,7 +17,7 @@ default: $(OBJS)
$(STRIP) newlisp.dll
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_mingw64dll

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
win-util.o win-path.o win-dll.o
CFLAGS = -m64 -Wall -c -O1 -DLIBRARY -DFFI -DWINDOWS
DEFAULT_CFLAGS = -m64 -Wall -c -O1 -DLIBRARY -DFFI -DWINDOWS $(CFLAGS)
CC = gcc
STRIP = strip
@ -17,7 +17,7 @@ default: $(OBJS)
$(STRIP) newlisp.dll
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_mingw64dll_ffi

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o \
win-util.o win-path.o win-dll.o
CFLAGS = -m64 -Wall -c -O1 -DLIBRARY -DSUPPORT_UTF8 -DNEWLISP64 -DWINDOWS
DEFAULT_CFLAGS = -m64 -Wall -c -O1 -DLIBRARY -DSUPPORT_UTF8 -DNEWLISP64 -DWINDOWS $(CFLAGS)
CC = gcc
STRIP = strip
@ -17,7 +17,7 @@ default: $(OBJS)
$(STRIP) newlisp.dll
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_mingw64dll_utf8

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o \
win-util.o win-path.o win-dll.o
CFLAGS = -m64 -Wall -c -O1 -DNEWLISP64 -DWINDOWS -DSUPPORT_UTF8 -DFFI -DLIBRARY
DEFAULT_CFLAGS = -m64 -Wall -c -O1 -DNEWLISP64 -DWINDOWS -DSUPPORT_UTF8 -DFFI -DLIBRARY $(CFLAGS)
CC = gcc
STRIP = strip
@ -17,7 +17,7 @@ default: $(OBJS)
$(STRIP) newlisp.dll
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_mingw64dll_utf8_ffi

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
win-util.o win-path.o
CFLAGS = -m32 -Wall -c -O1 -g -DWINDOWS -DFFI
DEFAULT_CFLAGS = -m32 -Wall -c -O1 -g -DWINDOWS -DFFI $(CFLAGS)
CC = gcc
STRIP = strip
@ -15,7 +15,7 @@ default: $(OBJS)
$(STRIP) newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h newlisp.h makefile_mingw_ffi

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
nl-utf8.o win-util.o win-path.o
CFLAGS = -m32 -Wall -c -O1 -g -DWINDOWS -DSUPPORT_UTF8
DEFAULT_CFLAGS = -m32 -Wall -c -O1 -g -DWINDOWS -DSUPPORT_UTF8 $(CFLAGS)
CC = gcc
STRIP = strip
@ -15,7 +15,7 @@ default: $(OBJS)
$(STRIP) newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h newlisp.h makefile_mingw_utf8

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
nl-utf8.o win-util.o win-path.o
CFLAGS = -m32 -Wall -c -O1 -DSUPPORT_UTF8 -DWINDOWS -DFFI
DEFAULT_CFLAGS = -m32 -Wall -c -O1 -DSUPPORT_UTF8 -DWINDOWS -DFFI $(CFLAGS)
CC = gcc
STRIP = strip
@ -15,7 +15,7 @@ default: $(OBJS)
$(STRIP) newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h newlisp.h makefile_mingw_utf8_ffi

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
win-util.o win-path.o win-dll.o
CFLAGS = -m32 -Wall -c -O1 -DLIBRARY -DWINDOWS
DEFAULT_CFLAGS = -m32 -Wall -c -O1 -DLIBRARY -DWINDOWS $(CFLAGS)
CC = gcc
STRIP = strip
@ -17,7 +17,7 @@ default: $(OBJS)
$(STRIP) newlisp.dll
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_mingwdll

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o \
win-util.o win-path.o win-dll.o
CFLAGS = -m32 -Wall -c -O1 -DLIBRARY -DFFI -DWINDOWS
DEFAULT_CFLAGS = -m32 -Wall -c -O1 -DLIBRARY -DFFI -DWINDOWS $(CFLAGS)
CC = gcc
STRIP = strip
@ -17,7 +17,7 @@ default: $(OBJS)
$(STRIP) newlisp.dll
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_mingwdll_ffi

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o \
win-util.o win-path.o win-dll.o
CFLAGS = -m32 -Wall -c -O1 -DLIBRARY -DWINDOWS
DEFAULT_CFLAGS = -m32 -Wall -c -O1 -DLIBRARY -DWINDOWS $(CFLAGS)
CC = gcc
STRIP = strip
@ -17,7 +17,7 @@ default: $(OBJS)
$(STRIP) newlisp.dll
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_mingwdll_utf8

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o \
win-util.o win-path.o win-dll.o
CFLAGS = -m32 -Wall -c -O1 -DLIBRARY -DSUPPORT_UTF8 -DFFI -DWINDOWS
DEFAULT_CFLAGS = -m32 -Wall -c -O1 -DLIBRARY -DSUPPORT_UTF8 -DFFI -DWINDOWS $(CFLAGS)
CC = gcc
STRIP = strip
@ -17,7 +17,7 @@ default: $(OBJS)
$(STRIP) newlisp.dll
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_mingwdll_utf8_ffi

View File

@ -4,7 +4,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD
DEFAULT_CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD $(CFLAGS)
# without readline support
#CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -D_BSD
@ -18,7 +18,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_netbsd

View File

@ -5,7 +5,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
# for readline support use following line
CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DREADLINE -DSUPPORT_UTF8 -D_BSD
DEFAULT_CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DREADLINE -DSUPPORT_UTF8 -D_BSD $(CFLAGS)
# without readline support
#CFLAGS = -m32 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DSUPPORT_UTF8 -D_BSD
@ -18,7 +18,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_netbsd_utf8

View File

@ -5,7 +5,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -m32 -Wall -pedantic -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -c -O2 -DSOLARIS
DEFAULT_CFLAGS = -m32 -Wall -pedantic -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -c -O2 -DSOLARIS $(CFLAGS)
CC = gcc
@ -17,6 +17,6 @@ default: $(OBJS)
@echo ""
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_solaris

View File

@ -5,7 +5,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -s -DREADLINE -DOS2
DEFAULT_CFLAGS = -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -s -DREADLINE -DOS2 $(CFLAGS)
#CFLAGS = -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -s -DOS2
CC = gcc
@ -15,7 +15,7 @@ default: $(OBJS)
#$(CC) $(OBJS) -Zomf -Zmt -lm -ldl -o newlisp.exe
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_os2

View File

@ -10,7 +10,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -mcpu=arm1176jzf-s -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DLINUX
DEFAULT_CFLAGS = -mcpu=arm1176jzf-s -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DLINUX $(CFLAGS)
#CFLAGS = -mcpu=arm1176jzf-s -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DLINUX -DREADLINE
CC = gcc
@ -22,7 +22,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_raspberrypi

View File

@ -9,7 +9,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o nl-utf8.o pcre.o
CFLAGS = -mcpu=arm1176jzf-s -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DLINUX -DSUPPORT_UTF8
DEFAULT_CFLAGS = -mcpu=arm1176jzf-s -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DLINUX -DSUPPORT_UTF8 $(CFLAGS)
#CFLAGS = -mcpu=arm1176jzf-s -Wall -pedantic -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DLINUX -DSUPPORT_UTF8 -DREADLINE
CC = gcc
@ -21,7 +21,7 @@ default: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_raspberrypi_utf8

View File

@ -5,7 +5,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -m32 -Wall -pedantic -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -c -O2 -DREADLINE -DSUNOS
DEFAULT_CFLAGS = -m32 -Wall -pedantic -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -c -O2 -DREADLINE -DSUNOS $(CFLAGS)
CC = gcc
@ -13,6 +13,6 @@ default: $(OBJS)
$(CC) $(OBJS) -m32 -lm -ldl -lrt -lsocket -lnsl -lreadline -lncurses -o newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_sunos

View File

@ -5,7 +5,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
CFLAGS = -m64 -Wall -pedantic -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -c -O2 \
DEFAULT_CFLAGS = -m64 -Wall -pedantic -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -c -O2 \ $(CFLAGS)
-DSUNOS -DNEWLISP64 -DREADLINE
CC = gcc
@ -14,6 +14,6 @@ default: $(OBJS)
$(CC) $(OBJS) -m64 -lm -ldl -lrt -lsocket -lnsl -lreadline -lncurses -o newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_sunosLP64

View File

@ -5,7 +5,7 @@
OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-utf8.o nl-debug.o pcre.o
CFLAGS = -m64 -Wall -pedantic -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -c -O2 \
DEFAULT_CFLAGS = -m64 -Wall -pedantic -Wno-uninitialized -Wno-long-long -fno-strict-aliasing -c -O2 \ $(CFLAGS)
-DSUNOS -DNEWLISP64 -DREADLINE -DSUPPORT_UTF8
CC = gcc
@ -14,6 +14,6 @@ default: $(OBJS)
$(CC) $(OBJS) -m64 -lm -ldl -lrt -lsocket -lnsl -lreadline -lncurses -o newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_sunosLP64

View File

@ -7,7 +7,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
# use following for UTF-8 support and add nl-utf8.o to the OBJS line
CFLAGS = -m32 -Wall -pedantic -Wno-uninitialized -Wno-long-long -c -O2 -DREADLINE -DSUPPORT_UTF8 -DSUNOS
DEFAULT_CFLAGS = -m32 -Wall -pedantic -Wno-uninitialized -Wno-long-long -c -O2 -DREADLINE -DSUPPORT_UTF8 -DSUNOS $(CFLAGS)
CC = gcc
@ -16,6 +16,6 @@ default: $(OBJS)
$(CC) $(OBJS) -m32 -lm -ldl -lrt -lsocket -lnsl -lreadline -lncurses -o newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_sunos_utf8

View File

@ -6,7 +6,7 @@ OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-fil
nl-sock.o nl-import.o nl-xml-json.o nl-web.o nl-matrix.o nl-debug.o pcre.o
# CFLAGS = -I/usr/local/include -ieee -pedantic -c -O3 -DREADLINE -DSOLARIS -DTRU64 -DNEWLISP64 -D_POSIX_PII_SOCKET
CFLAGS = -ieee -pedantic -c -O3 -DTRU64 -DNEWLISP64 -D_POSIX_PII_SOCKET
DEFAULT_CFLAGS = -ieee -pedantic -c -O3 -DTRU64 -DNEWLISP64 -D_POSIX_PII_SOCKET $(CFLAGS)
CC = cc
@ -19,7 +19,7 @@ readline: $(OBJS)
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(CC) $(DEFAULT_CFLAGS) $<
$(OBJS): primes.h protos.h makefile_tru64