diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ad8dd73 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +all: + @echo Check out README.md + +%.lc:%.lua + @luac -s -o $@ $< + +compile-%: + @$(MAKE) -j 8 $(patsubst %.lua,%.lc,$(wildcard $(patsubst compile-%,%,$@)/*.lua)) + +upload-%: + @$(MAKE) $(patsubst upload-%,compile-%,$@) + ./upload.sh $(patsubst upload-%,%,$@) |