aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2018-02-10 14:41:49 +0100
committerNao Pross <naopross@thearcway.org>2018-02-10 14:41:49 +0100
commitd677dbead66c2c52c2ffc51a64ece0a06114d2ad (patch)
tree188a7a6fc693dd47de18648577fba3c247361f2c /Makefile
parentImplement barebone game engine (diff)
downloadSubconscious-old-d677dbead66c2c52c2ffc51a64ece0a06114d2ad.tar.gz
Subconscious-old-d677dbead66c2c52c2ffc51a64ece0a06114d2ad.zip
Switch to gradle, update gitignore
Diffstat (limited to '')
-rw-r--r--Makefile20
1 files changed, 2 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 13da9d5..b038e89 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,2 @@
-MAINCLASS := Subconscious
-
-run: build
- cd bin && java $(MAINCLASS)
-
-pack: build
- echo "Main-Class: $(MAINCLASS)" > jar/manifest.txt
- jar cvfm jar/$(MAINCLASS).jar jar/manifest.txt -C bin/ .
-
-build: dirs
- javac -d bin/ src/*.java
-
-dirs:
- mkdir -p src bin jar
-
-clean:
- rm jar/*
- rm bin/*
+all:
+ gradle run