# makefile for newLISP v. 9.x.x on Mac OSX without readline support
#
# for OS X 10.4/Tiger, Tiger comes standard with libreadline, but not in LP64 mode
#
# needs a (G5 ?) or core 2 duo to run. Passes 'make test' on intel core 2 duo
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
CFLAGS = -m64 -Wall -O2 -I/usr/include -c -g -DMAC_OSX -DNEWLISP64
#CFLAGS = -m64 -Wall -I/usr/include -c -g -DMAC_OSX -DNEWLISP64
CC = cc -L/usr/lib
default: $(OBJS)
$(CC) $(OBJS) -m64 -g -lm -o newlisp
strip newlisp
.c.o:
$(CC) $(CFLAGS) $<
$(OBJS): primes.h protos.h makefile_osxLP64
syntax highlighted by Code2HTML, v. 0.9.1