1 # makefile for newLISP v. 9.x.x on LINUX as a shared library - newlisp.so -
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 = -Wall -pedantic -Wno-uninitialized -Wno-strict-aliasing -Wno-long-long -c -O2 -DLINUX -DLIBRARY
14 $(CC) $(OBJS) -lm -ldl -shared -o newlisp.so
20 $(OBJS): primes.h protos.h makefile_linux_lib