# makefile for newLISP v. 9.x.x on Mac OSX older versions and with readline support # installed via darwin ports # # for readline support installed via darwin ports # # needs readline library and headerfiles installed (X tools) # 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.o nl-web.o nl-matrix.o nl-debug.o pcre.o osx-dlfcn.o CFLAGS = -Wall -O2 -I/opt/local/include -c -g -DMAC_OSX -DMAC_102 -DREADLINE CC = cc -L/opt/local/lib default: $(OBJS) $(CC) $(OBJS) -g -lm -lreadline -o newlisp strip newlisp .c.o: $(CC) $(CFLAGS) $< $(OBJS): primes.h protos.h makefile_darwin_10.2