1 # makefile for newLISP v. 9.x.x on BSDs: FreeBSD, OpenBSD and IPv6 potocol
4 OBJS = newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string.o nl-filesys.o \
5 nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o pcre.o
7 # the option -fno-strict-aliasing may not be available on some BSD versions
9 CFLAGS = -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD -DIPV6
10 # for netBSD use following line
11 #CFLAGS = -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -D_BSD -DIPV6
16 $(CC) $(OBJS) -g -lm -lreadline -lncurses -o newlisp
17 # for netBSD use following line
18 # $(CC) $(OBJS) -g -lm -o newlisp
24 $(OBJS): primes.h protos.h makefile_bsd