]> pd.if.org Git - nbds/blobdiff - makefile
use NULL instead of a sentinal node in skiplist and list
[nbds] / makefile
index 8f508379e6903376f91f7fa24392d65127feb2a1..a4700efaa7fa7bf1341ed31ac47c2afa25342704 100644 (file)
--- a/makefile
+++ b/makefile
@@ -6,17 +6,18 @@
 # 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 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
-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
+skiplist_test_SRCS := $(TEST_SRCS) struct/skiplist.c
+ht_test_SRCS := $(TEST_SRCS) struct/hashtable.c test/ht_test.c test/CuTest.c
+txn_test_SRCS  := $(TEST_SRCS) struct/hashtable.c txn/txn.c
 
 tests: $(TESTS)