aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-10-11 14:07:42 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-10-11 14:07:42 +0200
commitd9da54abcc784ecca5e1c0c415820a32e68c2296 (patch)
treec5eee8f9944a3a8e89fdc011b1d77b09b0c95737 /Makefile
parent5fb5e20aa00ead18785c14fe788cdfdbced14f63 (diff)
downloadesp-playground-d9da54abcc784ecca5e1c0c415820a32e68c2296.tar.gz
esp-playground-d9da54abcc784ecca5e1c0c415820a32e68c2296.tar.bz2
esp-playground-d9da54abcc784ecca5e1c0c415820a32e68c2296.tar.xz
esp-playground-d9da54abcc784ecca5e1c0c415820a32e68c2296.zip
o Initial import of diller firmware.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
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-%,%,$@)