aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0471eae..c23a003 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,9 @@ all:
compile-%:
@$(MAKE) -j 8 $(patsubst %.lua,%.lc,$(wildcard $(patsubst compile-%,%,$@)/*.lua))
+clean-%:
+ rm -f $(wildcard $(patsubst clean-%,%,$@)/*.lc)
+
upload-%:
@$(MAKE) $(patsubst upload-%,compile-%,$@)
./upload.sh $(patsubst upload-%,%,$@)