X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=makefile;h=d9863f2a0111bec1fc8069fcfff905bb347ac8eb;hp=0130026c8e0a7a78abb9dfd86ecb75c9a04f1c0b;hb=75b0d2f02f548b3a1e4daba8b0d55eea2fb24e92;hpb=ff3c302d5e137d9653c656eee016bacf5d988d66 diff --git a/makefile b/makefile index 0130026..d9863f2 100644 --- a/makefile +++ b/makefile @@ -5,15 +5,16 @@ # Makefile for building programs with whole-program interfile optimization ################################################################################################### CFLAGS0 := -Wall -Werror -std=gnu99 -lpthread #-m32 -DNBD32 -CFLAGS1 := $(CFLAGS0) -g -O3 #-DNDEBUG #-fwhole-program -combine +CFLAGS1 := $(CFLAGS0) -g #-DNDEBUG #-fwhole-program -combine CFLAGS2 := $(CFLAGS1) #-DENABLE_TRACE CFLAGS3 := $(CFLAGS2) #-DLIST_USE_HAZARD_POINTER CFLAGS := $(CFLAGS3) #-DNBD_SINGLE_THREADED #-DUSE_SYSTEM_MALLOC #-DTEST_STRING_KEYS INCS := $(addprefix -I, include) -TESTS := output/perf_test #output/map_test1 output/map_test2 output/rcu_test output/txn_test #output/haz_test +TESTS := output/perf_test output/map_test1 output/map_test2 output/rcu_test output/txn_test #output/haz_test OBJS := $(TESTS) -RUNTIME_SRCS := runtime/runtime.c runtime/rcu.c runtime/lwt.c runtime/mem.c datatype/nstring.c #runtime/hazard.c +RUNTIME_SRCS := runtime/runtime.c runtime/rcu.c runtime/lwt.c runtime/mem.c runtime/random.c \ + datatype/nstring.c #runtime/hazard.c MAP_SRCS := map/map.c map/list.c map/skiplist.c map/hashtable.c haz_test_SRCS := $(RUNTIME_SRCS) test/haz_test.c