浏览代码

added DEBUG=1 to add -g

ncannasse 6 年之前
父节点
当前提交
f35f04a9a2
共有 1 个文件被更改,包括 4 次插入0 次删除
  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: