[nostalgia] Make gba-pkg's project an argument

This commit is contained in:
Gary Talent 2020-06-14 19:01:07 -05:00
parent 18166f6123
commit 4f1593a0ed
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ build:
.PHONY: pkg-gba
pkg-gba:
$(foreach file, $(wildcard build/*), cmake --build $(file) --target install;)
${ENV_RUN} ./scripts/gba-pkg
${ENV_RUN} ./scripts/gba-pkg sample_project
.PHONY: install
install:
$(foreach file, $(wildcard build/*), cmake --build $(file) --target install;)

View File

@ -6,7 +6,7 @@ BIN=./dist/$(cat .current_build)/bin/
PATH=$BIN:${DEVKITPRO}/tools/bin/:${DEVKITARM}/bin/:$PATH
NOSTALGIA_BIN=build/gba-*/src/nostalgia/player/nostalgia.bin
NOSTALGIA_MEDIA=nostalgia_media.oxfs
NOSTALGIA_PROJECT=sample_project
NOSTALGIA_PROJECT=$1
NOSTALGIA_GBA=nostalgia.gba
MEDIA_HEADER=media_header.txt