X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=makefile;h=0a14c0ec7c3a9a0bcfc35e03f9d71b166a42fb70;hp=939f8dd1bccb12c96ae5227ab73aeaafe08364bf;hb=269f52d6f8cd031692c83afaa05c389115d05bd0;hpb=af2000653f50ce43e94bfd260ce47e4b53ab2222 diff --git a/makefile b/makefile index 939f8dd..0a14c0e 100644 --- a/makefile +++ b/makefile @@ -6,22 +6,21 @@ # Makefile for building programs with whole-program interfile optimization ################################################################################################### OPT := -fwhole-program -combine -03 #-DNDEBUG -CFLAGS := -g -Wall -Werror -std=c99 -m64 -fnested-functions #$(OPT) #-DENABLE_TRACE +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 -EXES := $(TESTS) output/txn_test +TESTS := output/rcu_test output/list_test output/skiplist_test output/ht_test output/txn_test +EXES := $(TESTS) 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) -txn: output/txn_test - ################################################################################################### # Run the tests ###################################################################################################