aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-10 19:27:42 -0500
committerJoel Martin <github@martintribe.org>2014-04-10 19:27:42 -0500
commit712af9efbe15a9a65c25ab92ee2a49c8e749ed3d (patch)
tree52cac897ae1834cf812ff41b602885142e7a0b5a /c
parenta34b02006527d28db5df5c6553be804770b81f79 (diff)
downloadmal-712af9efbe15a9a65c25ab92ee2a49c8e749ed3d.tar.gz
mal-712af9efbe15a9a65c25ab92ee2a49c8e749ed3d.zip
Add stats-lisp target (only env, core, stepA)
Diffstat (limited to 'c')
-rw-r--r--c/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/c/Makefile b/c/Makefile
index fab4447..b8d3130 100644
--- a/c/Makefile
+++ b/c/Makefile
@@ -6,10 +6,12 @@ LDFLAGS += -g
TESTS =
-SOURCES = readline.h readline.c types.h types.c \
- reader.h reader.c printer.h printer.c \
- env.c core.h core.c interop.h interop.c \
- stepA_more.c
+SOURCES_BASE = readline.h readline.c types.h types.c \
+ reader.h reader.c printer.h printer.c \
+ interop.h interop.c
+SOURCES_LISP = env.c core.h core.c stepA_more.c
+SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
+
#####################
@@ -55,6 +57,8 @@ clean:
stats: $(SOURCES)
@wc $^
+stats-lisp: $(SOURCES_LISP)
+ @wc $^
tests: $(TESTS)