diff --git a/src/tests/Makefile b/src/tests/Makefile index 570084c..5f57bc1 100644 --- a/src/tests/Makefile +++ b/src/tests/Makefile @@ -1,6 +1,6 @@ .SUFFIXES: .c .o -COMPILE = $(CC) -g -O3 -Wall -D_FILE_OFFSET_BITS=64 -g -DDEBUG_FLAG +COMPILE = $(CC) -g -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -DDEBUG_FLAG INC_PATH = -I/usr/local/include LIB_PATH = -lfastcommon -lpthread @@ -15,9 +15,6 @@ ALL_PRGS = test_allocator test_skiplist test_multi_skiplist test_mblock test_blo all: $(ALL_PRGS) -test_memcpy: test_memcpy.c - $(CC) -g -Wall -o $@ $< $(LIB_PATH) $(INC_PATH) - .c: $(COMPILE) -o $@ $< $(LIB_PATH) $(INC_PATH) .c.o: