From e55bf8a0b0c70095ad3b290011d19e28684a1c99 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Tue, 10 Feb 2026 21:30:39 +0100 Subject: loading opengl --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') 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) -- cgit v1.2.3