diff --git a/.gitignore b/.gitignore index 511f030..53a8747 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ /target/ /.rogue-save/ /build/.rogue-save/ +/build/out/.rogue-save/ /build/out/*.jar /build/in/*.jar *.log diff --git a/build/Makefile b/build/Makefile index 8ee896c..fa12864 100644 --- a/build/Makefile +++ b/build/Makefile @@ -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: $(OUT) + java -jar $(OUT) -run: - java -jar $(OUT) \ No newline at end of file +deploy: $(OUT) + cp -f $(OUT) /home/ondra/Dokumenty/Dropbox/Public/Rogue