diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
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}" |