diff options
| author | Fuwn <[email protected]> | 2024-06-07 23:09:21 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-07 23:11:58 +0000 |
| commit | 154020421b898d6e3f5a09b42a39ef0348d6ea6e (patch) | |
| tree | ead107c12cabbb7421c558731d709725582ba52d /Makefile | |
| parent | feat(decompile): confirm overwrite (diff) | |
| download | worldsplayer_source_editor-154020421b898d6e3f5a09b42a39ef0348d6ea6e.tar.xz worldsplayer_source_editor-154020421b898d6e3f5a09b42a39ef0348d6ea6e.zip | |
build: add makefile
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}" |