mirror of
https://github.com/gtalent/sc9k.git
synced 2025-01-22 18:43:36 -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=
|
||||
include ${BUILDCORE_PATH}/base.mk
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/${PROJECT_NAME}.app/Contents/MacOS/SlideController
|
||||
ifeq ($(BC_VAR_OS),darwin)
|
||||
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/bin/${PROJECT_NAME}.app/Contents/MacOS/SlideController
|
||||
else
|
||||
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/bin/SlideController
|
||||
PROJECT_EXECUTABLE=./build/${BC_VAR_CURRENT_BUILD}/bin/${PROJECT_NAME}
|
||||
endif
|
||||
|
||||
.PHONY: run
|
||||
run:
|
||||
run: build
|
||||
${ENV_RUN} ${PROJECT_EXECUTABLE}
|
||||
.PHONY: debug
|
||||
debug:
|
||||
debug: build
|
||||
${DEBUGGER} ${PROJECT_EXECUTABLE}
|
||||
|
Loading…
Reference in New Issue
Block a user