[nostalgia] Get building with Conan
This commit is contained in:
7
Makefile
7
Makefile
@ -16,16 +16,17 @@ endif
|
||||
ifeq ($(OS),darwin)
|
||||
NOSTALGIA_STUDIO=./dist/current/nostalgia-studio.app/Contents/MacOS/nostalgia-studio
|
||||
NOSTALGIA_STUDIO_PROFILE=dist/current/nostalgia-studio.app/Contents/Resources/nostalgia-studio.json
|
||||
MGBA=/Applications/mGBA.app/Contents/MacOS/mGBA
|
||||
else
|
||||
NOSTALGIA_STUDIO=./dist/current/bin/nostalgia-studio
|
||||
NOSTALGIA_STUDIO_PROFILE=dist/current/share/nostalgia-studio.json
|
||||
MGBA=mgba-qt
|
||||
endif
|
||||
|
||||
all:
|
||||
${ENV_RUN} ./scripts/run-make build
|
||||
pkg-gba:
|
||||
${ENV_RUN} ./scripts/run-make build install
|
||||
${ENV_RUN} ./scripts/run-make build
|
||||
${ENV_RUN} ./scripts/gba-pkg
|
||||
preinstall:
|
||||
${ENV_RUN} ./scripts/run-make build preinstall
|
||||
@ -43,11 +44,11 @@ run: install
|
||||
run-studio: install
|
||||
${ENV_RUN} ${NOSTALGIA_STUDIO} -profile ${NOSTALGIA_STUDIO_PROFILE}
|
||||
gba-run: pkg-gba
|
||||
mgba-qt nostalgia.gba
|
||||
${MGBA} nostalgia.gba
|
||||
gdb: install
|
||||
${ENV_RUN} gdb --args ./dist/current/bin/nostalgia sample_project
|
||||
gdb-studio: install
|
||||
${ENV_RUN} gdb --args ./dist/current/bin/nostalgia-studio -profile dist/current/share/nostalgia-studio.json
|
||||
${ENV_RUN} gdb --args ${NOSTALGIA_STUDIO} -profile ${NOSTALGIA_STUDIO_PROFILE}
|
||||
|
||||
devenv-image:
|
||||
docker build . -t ${DEVENV_IMAGE}
|
||||
|
Reference in New Issue
Block a user