More efficient makefile for export

This commit is contained in:
Ondřej Hruška
2014-05-13 01:04:36 +02:00
parent c09c2eb248
commit cbe9fcff08
2 changed files with 10 additions and 3 deletions
+9 -3
View File
@@ -8,7 +8,9 @@ OUT = $(OUT_DIR)/release.jar
TMP_DIR = ./tmp
all:
all: $(OUT)
$(OUT): $(IN) $(STUB)
# clean
mkdir -p $(TMP_DIR)
mkdir -p $(OUT_DIR)
@@ -27,6 +29,10 @@ all:
# clean
rm -rf $(TMP_DIR)
run:
java -jar $(OUT)
run: $(OUT)
java -jar $(OUT)
deploy: $(OUT)
cp -f $(OUT) /home/ondra/Dokumenty/Dropbox/Public/Rogue