silence unit test debug output
@@ -4,22 +4,23 @@ all:objcache_test network_test id_heap_test
ROOT=$(PWD)/..
CC=cc
-CFLAGS=-g -c -DENABLE_MSG_DEBUG -std=gnu99
+CFLAGS=-g -std=gnu99
+#CFLAGS+=-DENABLE_MSG_DEBUG
include $(ROOT)/unix_process/Makefile
INCLUDES += -I.
%.o: %.c $(ROOT)/runtime/closure_templates.h
- $(CC) $(CFLAGS) $(INCLUDES) $<
+ $(CC) -c $(CFLAGS) $(INCLUDES) $<
objcache_test: objcache_test.o $(UNIXRUNTIME) $(TFS)
- $(CC) $^ -g -o objcache_test
+ $(CC) $(CFLAGS) $^ -g -o objcache_test
network_test: network_test.o http.o socket_user.o $(UNIXRUNTIME)
- $(CC) -I. $^ -g -o network_test
+ $(CC) $(CFLAGS) -I. $^ -g -o network_test
id_heap_test: id_heap_test.o $(UNIXRUNTIME)
- $(CC) $^ -g -o id_heap_test
+ $(CC) $(CFLAGS) $^ -g -o id_heap_test
unit-test: objcache_test id_heap_test
./objcache_test
