瀏覽代碼

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: