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>2016-11-17 22:18:39 -0800
commitacfc29f2400cc3c06745edb5ec0c82b82998d3cc (patch)
tree87d7a10500c9576afb563e315b0855134ce66b47 /src/lisp/Makefile
parent3d837e52b29da16088fb5ca7921d8bcb99941759 (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)