mirror of
https://github.com/gtalent/sc9k.git
synced 2025-01-22 21:03:37 -06:00
Fix 'make run' and 'make debug'
This commit is contained in:
parent
1d66bcc3bb
commit
e42c3a7dc8
10
Makefile
10
Makefile
@ -3,15 +3,15 @@ BUILDCORE_PATH=deps/buildcore
|
|||||||
VCPKG_PKGS=
|
VCPKG_PKGS=
|
||||||
include ${BUILDCORE_PATH}/base.mk
|
include ${BUILDCORE_PATH}/base.mk
|
||||||
|
|
||||||
ifeq ($(OS),darwin)
|
ifeq ($(BC_VAR_OS),darwin)
|
||||||
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/${PROJECT_NAME}.app/Contents/MacOS/SlideController
|
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/bin/${PROJECT_NAME}.app/Contents/MacOS/SlideController
|
||||||
else
|
else
|
||||||
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/bin/SlideController
|
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/bin/${PROJECT_NAME}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
run:
|
run: build
|
||||||
${ENV_RUN} ${PROJECT_EXECUTABLE}
|
${ENV_RUN} ${PROJECT_EXECUTABLE}
|
||||||
.PHONY: debug
|
.PHONY: debug
|
||||||
debug:
|
debug: build
|
||||||
${DEBUGGER} ${PROJECT_EXECUTABLE}
|
${DEBUGGER} ${PROJECT_EXECUTABLE}
|
||||||
|
Loading…
Reference in New Issue
Block a user