summaryrefslogtreecommitdiff
path: root/src/lisp/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-11-15 09:55:22 -0800
committerKeith Packard <keithp@keithp.com>2017-02-20 11:16:51 -0800
commit974717eb9dad105c9897ee24f953d98d57eaec77 (patch)
treeea77eec1b39f859353f17ad384950f6bd982c569 /src/lisp/Makefile
parentb3b5bd2c14cfcde6c551a87ee6da08a53f1e4bc6 (diff)
altos/lisp: Evaluate macros once, then smash them into place
This assumes that macros are all pure functions, which should be true for syntactic macros. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lisp/Makefile')
-rw-r--r--src/lisp/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lisp/Makefile b/src/lisp/Makefile
index dac11f66..b06e10dd 100644
--- a/src/lisp/Makefile
+++ b/src/lisp/Makefile
@@ -4,7 +4,7 @@ clean:
rm -f ao_lisp_const.h $(OBJS) ao_lisp_make_const
ao_lisp_const.h: ao_lisp_const.lisp ao_lisp_make_const
- ./ao_lisp_make_const < ao_lisp_const.lisp > $@
+ ./ao_lisp_make_const -o $@ ao_lisp_const.lisp
SRCS=\
ao_lisp_make_const.c\
@@ -25,10 +25,11 @@ SRCS=\
OBJS=$(SRCS:.c=.o)
-CFLAGS=-DAO_LISP_MAKE_CONST -O0 -g -I.
+CFLAGS=-DAO_LISP_MAKE_CONST -O0 -g -I. -Wall -Wextra
HDRS=\
ao_lisp.h \
+ ao_lisp_os.h \
ao_lisp_read.h
ao_lisp_make_const: $(OBJS)