summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrey Orst <andreyorst@gmail.com>2020-10-30 19:08:12 +0000
committerAndrey Orst <andreyorst@gmail.com>2020-10-30 19:08:12 +0000
commitc5f4b56b7f6640e23fa9384376a15c7b5ba74097 (patch)
tree1efd5f2fe6f8c0d8187c84a144a140de2eddea2d /Makefile
parent7f006094a4a82cc267e687d040c15b59b149415c (diff)
parentf0711feb917487bba4310f6419116693966b6e79 (diff)
Merge branch 'make-improvements' into 'master'
feature: rebuild project when macros files change See merge request andreyorst/fennel-cljlib!2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1d31dd1..fa4553c 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,12 @@ ${LUASOURCES}: $(FNLSOURCES)
fennel --lua $(LUA) --compile $< > $@
clean:
- rm -f *.lua luacov*
+ rm -f *.lua
-test:
+clean-all: clean
+ rm -f luacov*
+
+test: clean
@fennel --lua $(LUA) core_test.fnl
@fennel --lua $(LUA) macros_test.fnl
@@ -39,3 +42,5 @@ help:
@echo "make luacov -- build coverage report (requires working tests)" >&2
@echo "make luacov-console -- build coverage report (requires working tests)" >&2
@echo "make help -- print this message and exit" >&2
+
+-include .depend.mk