summaryrefslogtreecommitdiff
path: root/java/Makefile
blob: 2643080d7d175b3b24c61aceb25dd38d11744828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SOURCES=$(shell find src/main/java -type f -name \*.java)
OUT=$(shell pwd)/luigi-template.jar

all: $(SOURCES)
	javac $(SOURCES)

$(OUT): all
	cd src/main/java && jar cf $(OUT) org

jar: $(OUT)

clean:
	find src/main/java -type f -name \*.class -exec rm -f '{}' ';'
	rm -f $(OUT)