diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,7 +2,7 @@ CC := clang INCLUDES := -I./include -Ideps/glfw-3.3.8/include/GLFW -Ideps/stb_image CFLAGS := -Wall -Wextra -O2 -fPIC $(INCLUDES) # TODO(low prio): split static object files and shared object files so we can remove -fPIC from static lib builds -LDFLAGS := -lglfw -lvulkan +LDFLAGS := -lglfw # Detect OS UNAME_S := $(shell uname -s) @@ -39,6 +39,7 @@ ifeq ($(UNAME_S),Darwin) else SHARED_LIB := $(BUILD_DIR)/libceleritas.so SHARED_FLAGS := -shared + LDFLAGS += -lvulkan endif ## Makefile notes |