diff --git a/Makefile b/Makefile index 7772c93..28be0ab 100644 --- a/Makefile +++ b/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}