2024-04-16 05:50:49 -04:00

45 lines
1.1 KiB
Makefile

# defaults to linux, expects you to already have made the debugging world.
default:
@./scripts/clean_build_dir.sh
@./scripts/compile_game.sh
@./scripts/copy_conf_files.sh
@./scripts/copy_textures.sh
@./scripts/copy_sounds.sh
@echo Starting Minetest.
@minetest --go --gameid forgotten-lands --world $$HOME/.minetest/worlds/debugging
windows:
@echo Transpiling Forgotten Times into lua...
@npx tstl
@echo Successfully built Forgotten Times.
@echo Starting Minetest.
@../../bin/minetest.exe
linux:
@./scripts/clean_build_dir.sh
@./scripts/compile_game.sh
@./scripts/copy_conf_files.sh
@./scripts/copy_textures.sh
@./scripts/copy_sounds.sh
@echo Starting Minetest.
@minetest --go --gameid forgotten-lands --world $$HOME/.minetest/worlds/debugging
build_linux:
@./scripts/clean_build_dir.sh
@./scripts/compile_game.sh
@./scripts/copy_conf_files.sh
@./scripts/copy_textures.sh
@./scripts/copy_sounds.sh
release:
@./scripts/make_release.sh
clean:
@echo Destroying the built game.
@rm --verbose -rf mods/
@echo "It's done."
compress:
@./scripts/compress_pngs.sh