summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-10 21:30:39 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-10 21:30:39 +0100
commite55bf8a0b0c70095ad3b290011d19e28684a1c99 (patch)
tree35597984f2d82a74fc6d5c24886dbc0193cbf088 /Makefile
parenta8c2b710f2bbfb40f9035ed946a95e1b60c239e1 (diff)
loading opengl
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4bc6cfa..ea3043c 100644
--- a/Makefile
+++ b/Makefile
@@ -36,9 +36,13 @@ MI_FLAGS = \
HASHMAP_DIR = $(WORK_DIR)/hashmap
HASHMAP_SOURCE = $(HASHMAP_DIR)/hashmap.c
+GLAD_DIR = $(WORK_DIR)/glad
+GLAD_SOURCE = $(GLAD_DIR)/glad.c
+
CSH_FLAGS += \
-I$(MI_INCLUDE) \
-I$(HASHMAP_DIR) \
+ -I$(GLAD_DIR)
MI_GENERATOR = "Unix Makefiles"
@@ -53,6 +57,7 @@ SOURCES = \
$(SRC_DIR)/events.c \
$(SRC_DIR)/window.c \
$(SRC_DIR)/graphics.cc \
+ $(GLAD_DIR)/glad.c \
$(HASHMAP_SOURCE)
OBJECTS := $(SOURCES:.cc=.o)