1 # makefile for newLISP v. 9.x.x on 64 bit LINUX tested on AMD64 as a shared library
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 unix-lib.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 -DLINUX -DLIBRARY
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 -shared -o newlisp.so
23 $(OBJS): primes.h protos.h makefile_linux64_lib