d68e6493 [nostalgia/core/studio/tilesheeteditor] Add support for dragging palette to palette selector 1cbc5762 [studio] Complete drag/drop support for files 500b9356 [studio] Make new dir window OK on Enter key 800ca851 [ox/std] Fix possible error that occurs with appending on boundary of small string size cc466a9f [studio] Add support for adding and deleting directories 9d115584 [nostalgia] Rename player from 'nostalgia' to 'Nostalgia' a2139c09 [studio] Cleanup unused member a3e5f27a [ox/std] Fix Mac build 643f95ec [studio] Add confirmation dialog for file deletion, move deletion to Project 69241476 [studio] Add ability to add file through dir context menu 6e2b4fa7 [nostalgia] Cleanup player run in Makefile 4e5c7499 [studio] Add support for deleting files 66229de7 [ox/fs] FileSystem fixes with removing files 7eb37c53 [nostalgia/core/studio/paletteeditor] Fix adding page if there is no existing page 7a21b207 [nostalgia/core] Replace ContextDeleter with safeDelete(Context*) 894be237 [ox/std] Drop ox:: qualifier from safeDelete function for pointee 92e9d9cb [keel,studio] Add support for New Item templates b29b9a9b [ox/std] Add UAnyPtr 721f8442 [nostalgia/core/studio/tilesheeteditor] Fix subsheet and palette scrolling git-subtree-dir: deps/nostalgia git-subtree-split: d68e64931b37d7d8bbaff7b43bf131c7acf2aa97
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
BC_VAR_PROJECT_NAME=nostalgia
|
|
BC_VAR_PROJECT_NAME_CAP=Nostalgia
|
|
BC_VAR_DEVENV_ROOT=util
|
|
BUILDCORE_PATH=deps/buildcore
|
|
include ${BUILDCORE_PATH}/base.mk
|
|
|
|
ifeq ($(BC_VAR_OS),darwin)
|
|
PROJECT_STUDIO=./build/${BC_VAR_CURRENT_BUILD}/bin/${BC_VAR_PROJECT_NAME_CAP}Studio.app/Contents/MacOS/${BC_VAR_PROJECT_NAME_CAP}Studio
|
|
MGBA=/Applications/mGBA.app/Contents/MacOS/mGBA
|
|
else
|
|
PROJECT_STUDIO=./build/${BC_VAR_CURRENT_BUILD}/bin/${BC_VAR_PROJECT_NAME_CAP}Studio
|
|
MGBA=mgba-qt
|
|
endif
|
|
PROJECT_PLAYER=./build/${BC_VAR_CURRENT_BUILD}/bin/${BC_VAR_PROJECT_NAME_CAP}
|
|
|
|
.PHONY: pkg-gba
|
|
pkg-gba: build
|
|
${BC_CMD_ENVRUN} ${BC_PY3} ./util/scripts/pkg-gba.py sample_project ${BC_VAR_PROJECT_NAME}
|
|
|
|
.PHONY: build-player
|
|
build-player:
|
|
${BC_CMD_CMAKE_BUILD} ${BC_VAR_BUILD_PATH} ${BC_VAR_PROJECT_NAME_CAP}
|
|
.PHONY: run
|
|
run: build-player
|
|
${PROJECT_PLAYER} sample_project
|
|
.PHONY: run-studio
|
|
run-studio: build
|
|
${PROJECT_STUDIO}
|
|
.PHONY: gba-run
|
|
gba-run: pkg-gba
|
|
${MGBA} ${BC_VAR_PROJECT_NAME}.gba
|
|
.PHONY: debug
|
|
debug: build
|
|
${BC_CMD_HOST_DEBUGGER} ./build/${BC_VAR_CURRENT_BUILD}/bin/${BC_VAR_PROJECT_NAME} sample_project
|
|
.PHONY: debug-studio
|
|
debug-studio: build
|
|
${BC_CMD_HOST_DEBUGGER} ${PROJECT_STUDIO}
|
|
|
|
.PHONY: configure-gba
|
|
configure-gba:
|
|
${BC_CMD_SETUP_BUILD} --toolchain=deps/gbabuildcore/cmake/modules/GBA.cmake --target=gba --current_build=0 --build_type=release --build_root=${BC_VAR_BUILD_PATH}
|
|
|
|
.PHONY: configure-gba-debug
|
|
configure-gba-debug:
|
|
${BC_CMD_SETUP_BUILD} --toolchain=deps/gbabuildcore/cmake/modules/GBA.cmake --target=gba --current_build=0 --build_type=debug --build_root=${BC_VAR_BUILD_PATH}
|