From f0711feb917487bba4310f6419116693966b6e79 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Fri, 30 Oct 2020 22:05:25 +0300 Subject: feature: rebuild project when macros files change --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3