diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-27 11:51:02 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-27 11:51:02 +1100 |
commit | 7577b6d51c5180ec23f93cec79a5c77e54130558 (patch) | |
tree | 1b372bf5ccc89eba828ff15f87558ff695b6d75d /Makefile | |
parent | e597fbb916848df1f6fbd4da04c1ab6f89a25b45 (diff) |
fix compilation on mac
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 |