summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5f97b46..fe271cc 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ release: $(OUT_DIR_RELEASE)/$(PROGRAM_NAME)
 # Rule for building the debug version
 $(OUT_DIR_DEBUG)/$(PROGRAM_NAME): $(SRC_DIR)/*.odin
 	@mkdir -p $(OUT_DIR_DEBUG)
-	$(ODIN) build $(SRC_DIR) -out:$(OUT_DIR_DEBUG)/$(PROGRAM_NAME) --debug
+	$(ODIN) build $(SRC_DIR) -out:$(OUT_DIR_DEBUG)/$(PROGRAM_NAME) --debug -define:GL_DEBUG=true
 
 # Rule for building the release version
 $(OUT_DIR_RELEASE)/$(PROGRAM_NAME): $(SRC_DIR)/*.odin