Browse Source

added DEBUG=1 to add -g

ncannasse 6 years ago
parent
commit
f35f04a9a2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -93,6 +93,10 @@ ifdef MESA
 LIBS += mesa
 endif
 
+ifdef DEBUG
+CFLAGS += -g
+endif
+
 all: libhl hl libs
 
 install: