From ffd2ec134c38ec782d7d29c9658ca35cad2b91d9 Mon Sep 17 00:00:00 2001 From: mafaldo Date: Sat, 10 Feb 2018 11:14:23 +0100 Subject: First commit --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..13da9d5 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +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/* -- cgit v1.2.1