2015-05-23 17:01:49 +02:00
|
|
|
--- makefile_bsdLP64_utf8.orig 2015-01-19 17:10:12 UTC
|
2013-03-09 22:28:49 +01:00
|
|
|
+++ makefile_bsdLP64_utf8
|
2015-05-23 17:01:49 +02:00
|
|
|
@@ -6,14 +6,12 @@ OBJS = newlisp.o nl-symbol.o nl-math.o n
|
2009-08-11 13:47:01 +02:00
|
|
|
|
|
|
|
# the option -fno-strict-aliasing may not be available on some BSD versions
|
|
|
|
|
|
|
|
-CFLAGS = -m64 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD
|
2013-03-09 22:28:49 +01:00
|
|
|
+CFLAGS += -m64 -c -DREADLINE -DNEWLISP64 -DSUPPORT_UTF8 -D_BSD -DFFI
|
2009-08-11 13:47:01 +02:00
|
|
|
# or without readline lib
|
|
|
|
#CFLAGS = -m64 -Wall -Wno-uninitialized -Wno-strict-aliasing -O2 -c -g -DNEWLISP64 -D_BSD
|
|
|
|
|
2015-05-23 17:01:49 +02:00
|
|
|
-CC = cc
|
2013-03-09 22:28:49 +01:00
|
|
|
-
|
|
|
|
default: $(OBJS)
|
|
|
|
- $(CC) $(OBJS) -m64 -g -lm -lreadline -lncurses -o newlisp
|
|
|
|
+ $(CC) $(LDFLAGS) $(OBJS) -m64 -lm -lreadline -lncurses -lffi -o newlisp
|
|
|
|
# or without readline lib
|
|
|
|
# $(CC) $(OBJS) -m64 -g -lm -o newlisp
|
|
|
|
strip newlisp
|