Update Makefile for buildcore update
This commit is contained in:
parent
401ff5a287
commit
e17ba1e17a
14
Makefile
14
Makefile
@ -1,17 +1,17 @@
|
||||
PROJECT_NAME=CppProject
|
||||
BC_PROJECT_NAME=CppProject
|
||||
BC_VCPKG_PKGS=
|
||||
BUILDCORE_PATH=deps/buildcore
|
||||
VCPKG_PKGS=
|
||||
include ${BUILDCORE_PATH}/base.mk
|
||||
|
||||
ifeq ($(OS),darwin)
|
||||
PROJECT_EXECUTABLE=./build/${CURRENT_BUILD}/${PROJECT_NAME}.app/Contents/MacOS/${PROJECT_NAME}
|
||||
ifeq ($(BC_OS),darwin)
|
||||
PROJECT_EXECUTABLE=./build/${BC_CURRENT_BUILD}/${BC_PROJECT_NAME}.app/Contents/MacOS/${BC_PROJECT_NAME}
|
||||
else
|
||||
PROJECT_EXECUTABLE=./build/${CURRENT_BUILD}/bin/${PROJECT_NAME}
|
||||
PROJECT_EXECUTABLE=./build/${BC_CURRENT_BUILD}/bin/${BC_PROJECT_NAME}
|
||||
endif
|
||||
|
||||
.PHONY: run
|
||||
run: build
|
||||
${ENV_RUN} ${PROJECT_EXECUTABLE}
|
||||
${BC_ENVRUN} ${PROJECT_EXECUTABLE}
|
||||
.PHONY: debug
|
||||
debug: build
|
||||
${ENV_RUN} ${DEBUGGER} ${PROJECT_EXECUTABLE}
|
||||
${BC_ENVRUN} ${BC_DEBUGGER} ${PROJECT_EXECUTABLE}
|
||||
|
Loading…
Reference in New Issue
Block a user