[nostalgia] Make gba-pkg's project an argument
This commit is contained in:
parent
18166f6123
commit
4f1593a0ed
2
Makefile
2
Makefile
@ -31,7 +31,7 @@ build:
|
|||||||
.PHONY: pkg-gba
|
.PHONY: pkg-gba
|
||||||
pkg-gba:
|
pkg-gba:
|
||||||
$(foreach file, $(wildcard build/*), cmake --build $(file) --target install;)
|
$(foreach file, $(wildcard build/*), cmake --build $(file) --target install;)
|
||||||
${ENV_RUN} ./scripts/gba-pkg
|
${ENV_RUN} ./scripts/gba-pkg sample_project
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install:
|
install:
|
||||||
$(foreach file, $(wildcard build/*), cmake --build $(file) --target install;)
|
$(foreach file, $(wildcard build/*), cmake --build $(file) --target install;)
|
||||||
|
@ -6,7 +6,7 @@ BIN=./dist/$(cat .current_build)/bin/
|
|||||||
PATH=$BIN:${DEVKITPRO}/tools/bin/:${DEVKITARM}/bin/:$PATH
|
PATH=$BIN:${DEVKITPRO}/tools/bin/:${DEVKITARM}/bin/:$PATH
|
||||||
NOSTALGIA_BIN=build/gba-*/src/nostalgia/player/nostalgia.bin
|
NOSTALGIA_BIN=build/gba-*/src/nostalgia/player/nostalgia.bin
|
||||||
NOSTALGIA_MEDIA=nostalgia_media.oxfs
|
NOSTALGIA_MEDIA=nostalgia_media.oxfs
|
||||||
NOSTALGIA_PROJECT=sample_project
|
NOSTALGIA_PROJECT=$1
|
||||||
NOSTALGIA_GBA=nostalgia.gba
|
NOSTALGIA_GBA=nostalgia.gba
|
||||||
MEDIA_HEADER=media_header.txt
|
MEDIA_HEADER=media_header.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user