1 2 3 4 5 6 7 8 9 10 11 12 13 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)