More efficient makefile for export

v5stable
Ondřej Hruška 11 years ago
parent c09c2eb248
commit cbe9fcff08
  1. 1
      .gitignore
  2. 10
      build/Makefile

1
.gitignore vendored

@ -2,6 +2,7 @@
/target/
/.rogue-save/
/build/.rogue-save/
/build/out/.rogue-save/
/build/out/*.jar
/build/in/*.jar
*.log

@ -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)
@ -28,5 +30,9 @@ all:
# clean
rm -rf $(TMP_DIR)
run:
run: $(OUT)
java -jar $(OUT)
deploy: $(OUT)
cp -f $(OUT) /home/ondra/Dokumenty/Dropbox/Public/Rogue

Loading…
Cancel
Save