From 154020421b898d6e3f5a09b42a39ef0348d6ea6e Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 7 Jun 2024 23:09:21 +0000 Subject: build: add makefile --- Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d17e93b --- /dev/null +++ b/Makefile @@ -0,0 +1,26 @@ +ifdef JAVAC +else + JAVAC=~/Downloads/jdk1.6.0_45/bin/javac +endif + +ifdef WORLDSPLAYER_JAR +else + WORLDSPLAYER_JAR=${HOME}/.local/share/bottles/bottles/WorldsPlayer/drive_c/Program Files (x86)/Worlds Inc/WorldsPlayer - BowieFull/lib/worlds.jar +endif + +.PHONY: compile decompile install options + +all: options + +compile: + JAVAC=${JAVAC} ./bin/compile + +decompile: + WORLDSPLAYER_JAR=${WORLDSPLAYER_JAR} ./bin/decompile + +install: + cp ./out/worlds.jar "${WORLDSPLAYER_JAR}" + +options: + @echo "JAVAC=${JAVAC}" + @echo "WORLDSPLAYER_JAR=${WORLDSPLAYER_JAR}" -- cgit v1.2.3