Browse Source

Linux makefile helpful debug line.

Adam Ierymenko 11 năm trước cách đây
mục cha
commit
5917453611
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      make-linux.mk

+ 4 - 1
make-linux.mk

@@ -7,9 +7,12 @@ DEFS=
 LIBS=
 
 ifeq ($(ZT_AUTO_UPDATE),1)
-	DEFS+=-DZT_AUTO_UPDATE
+	DEFS+=-DZT_AUTO_UPDATE 
 endif
 
+# Uncomment to dump trace and log to stdout
+#DEFS+=-DZT_TRACE -DZT_LOG_STDOUT 
+
 # Uncomment for a release optimized build
 CFLAGS=-Wall -O3 -fvisibility=hidden -fstack-protector -pthread $(INCLUDES) -DNDEBUG $(DEFS)
 STRIP=strip --strip-all