|
|
@ -40,6 +40,11 @@ else ifneq (,$(findstring clang,$(CXX))) |
|
|
|
endif |
|
|
|
|
|
|
|
LIBS:=-lstdc++ |
|
|
|
LIBS+=-lpthread |
|
|
|
LIBS+=-lm |
|
|
|
LIBS+=-lglfw |
|
|
|
LIBS+=-lVulkan |
|
|
|
LIBS+=-lglm_shared |
|
|
|
|
|
|
|
LDFLAGS+=$(LIBS) |
|
|
|
|
|
|
@ -47,10 +52,12 @@ LDFLAGS+=$(LIBS) |
|
|
|
HERE:=$(dir $(lastword $(MAKEFILE_LIST))) |
|
|
|
-include $(HERE)build.conf |
|
|
|
|
|
|
|
COMPILE_FLAGS+=-isystem$(SYS_PREFIX)/include |
|
|
|
COMPILE_FLAGS+=-I$(PREFIX)/include |
|
|
|
LDFLAGS+=-L$(SYS_PREFIX)/lib |
|
|
|
LDFLAGS+=-L$(PREFIX)/lib |
|
|
|
COMPILE_FLAGS+=-isystem$(MACOS_SYS_PREFIX)/include |
|
|
|
COMPILE_FLAGS+=-isystem$(PORTS_SYS_PREFIX)/include |
|
|
|
COMPILE_FLAGS+=-I$(USER_PREFIX)/include |
|
|
|
LDFLAGS+=-L$(MACOS_SYS_PREFIX)/lib |
|
|
|
LDFLAGS+=-L$(PORTS_SYS_PREFIX)/lib |
|
|
|
LDFLAGS+=-L$(USER_PREFIX)/lib |
|
|
|
|
|
|
|
ifeq ($(DEBUG),1) |
|
|
|
COMPILE_FLAGS+=-g -O0 -DDEBUG |
|
|
|