fix src/tests/Makefile under fedora 40

use_iouring
YuQing 2024-12-18 11:48:58 +08:00
parent f4020e7622
commit ce0c23358f
1 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,6 @@
.SUFFIXES: .c .o .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 INC_PATH = -I/usr/local/include
LIB_PATH = -lfastcommon -lpthread LIB_PATH = -lfastcommon -lpthread
@ -15,9 +15,6 @@ ALL_PRGS = test_allocator test_skiplist test_multi_skiplist test_mblock test_blo
all: $(ALL_PRGS) all: $(ALL_PRGS)
test_memcpy: test_memcpy.c
$(CC) -g -Wall -o $@ $< $(LIB_PATH) $(INC_PATH)
.c: .c:
$(COMPILE) -o $@ $< $(LIB_PATH) $(INC_PATH) $(COMPILE) -o $@ $< $(LIB_PATH) $(INC_PATH)
.c.o: .c.o: