X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=makefile;h=bc31f328342cfa93598c32bb70fdbbcde2ad844f;hp=a59466f71cd5fa3d01a302ce704a0899908669aa;hb=7899dce86342c50be9a52d148fa27375bdb5d218;hpb=4a7804bd08c790fc3c4233312e4b485c3302fe02 diff --git a/makefile b/makefile index a59466f..bc31f32 100644 --- a/makefile +++ b/makefile @@ -8,13 +8,16 @@ OPT := -fwhole-program -combine -03 #-DNDEBUG CFLAGS := -g -Wall -Werror -std=c99 -m64 -fnested-functions $(OPT) #-DENABLE_TRACE INCS := $(addprefix -I, include) -TESTS := output/rcu_test output/list_test output/ht_test +TESTS := output/rcu_test output/list_test output/skiplist_test output/ht_test output/txn_test EXES := $(TESTS) -UTIL_SRCS := util/nbd.c util/rcu.c util/lwt.c util/CuTest.c util/mem.c -rcu_test_SRCS := $(UTIL_SRCS) -list_test_SRCS := $(UTIL_SRCS) struct/list.c -ht_test_SRCS := $(UTIL_SRCS) struct/ht.c struct/ht_test.c +RUNTIME_SRCS := runtime/runtime.c runtime/rcu.c runtime/lwt.c runtime/mem.c +TEST_SRCS := $(RUNTIME_SRCS) +rcu_test_SRCS := $(TEST_SRCS) +list_test_SRCS := $(TEST_SRCS) struct/list.c +skiplist_test_SRCS := $(TEST_SRCS) struct/skiplist.c +ht_test_SRCS := $(TEST_SRCS) struct/ht.c test/ht_test.c test/CuTest.c +txn_test_SRCS := $(TEST_SRCS) struct/ht.c txn/txn.c tests: $(TESTS)