1 # makefile for newLISP v. 9.x.x on 64 bit LINUX tested on AMD64
3 # Note, that readline support may require different libraries on different OSs
6 OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
7 nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o
9 #CFLAGS = -m32 -Wall -pedantic -Wno-uninitialized -c -O2 -g -DREADLINE -DLINUX
10 CFLAGS = -m32 -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -g -DREADLINE -DLINUX
15 # $(CC) $(OBJS) -m32 -g -lm -ldl -lreadline -ltermcap -o newlisp
16 $(CC) $(OBJS) -m32 -g -lm -ldl -lreadline -lncurses -o newlisp
17 # $(CC) $(OBJS) -m32 -g -lm -ldl -o newlisp
23 $(OBJS): primes.h protos.h makefile_linux64