52 lines
1.2 KiB
Makefile
Raw Normal View History

# defaults to linux, expects you to already have made the debugging world.
2023-11-05 12:10:21 -05:00
default:
@./scripts/clean_build_dir.sh
@./scripts/compile_game.sh
@./scripts/copy_conf_files.sh
@./scripts/copy_textures.sh
2024-04-15 05:50:44 -04:00
@./scripts/copy_sounds.sh
2024-04-17 10:41:44 -04:00
@./scripts/copy_models.sh
@echo Starting Minetest.
@minetest --go --gameid forgotten-lands --world $$HOME/.minetest/worlds/debugging
2023-11-05 13:00:02 -05:00
2024-04-17 06:23:12 -04:00
dryrun:
@./scripts/compile_game.sh
2023-11-08 03:00:38 -05:00
windows:
2023-11-21 07:33:53 -05:00
@echo Transpiling Forgotten Times into lua...
@npx tstl
@echo Successfully built Forgotten Times.
@echo Starting Minetest.
@../../bin/minetest.exe
2023-11-08 03:00:38 -05:00
linux:
@./scripts/clean_build_dir.sh
@./scripts/compile_game.sh
@./scripts/copy_conf_files.sh
@./scripts/copy_textures.sh
2024-04-15 05:50:44 -04:00
@./scripts/copy_sounds.sh
2024-04-17 10:41:44 -04:00
@./scripts/copy_models.sh
2023-11-21 07:33:53 -05:00
@echo Starting Minetest.
@minetest --go --gameid forgotten-lands --world $$HOME/.minetest/worlds/debugging
2024-04-15 05:21:17 -04:00
2024-04-15 06:11:22 -04:00
build_linux:
@./scripts/clean_build_dir.sh
@./scripts/compile_game.sh
@./scripts/copy_conf_files.sh
@./scripts/copy_textures.sh
@./scripts/copy_sounds.sh
2024-04-17 10:41:44 -04:00
@./scripts/copy_models.sh
2024-04-15 06:11:22 -04:00
release:
@./scripts/make_release.sh
2024-04-15 05:21:17 -04:00
clean:
@echo Destroying the built game.
2024-04-15 05:24:27 -04:00
@rm --verbose -rf mods/
2024-04-16 05:50:49 -04:00
@echo "It's done."
2024-04-16 10:08:20 -04:00
optimize_pngs:
@./scripts/optimize_pngs.sh