aboutsummaryrefslogtreecommitdiff
path: root/java/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'java/Makefile')
-rw-r--r--java/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile
new file mode 100644
index 0000000..15005fa
--- /dev/null
+++ b/java/Makefile
@@ -0,0 +1,14 @@
+SOURCES=$(shell find . -type f -name \*.java)
+CLASSES=$(shell find . -type f -name \*.class)
+OUT=luigi-template.jar
+
+all: $(SOURCES)
+ javac $(SOURCES)
+
+$(OUT): all
+ jar cvf $(OUT) $(CLASSES)
+
+jar: $(OUT)
+
+clean:
+ rm -v $(OUT) $(CLASSES)