refactor choices into own class
[c11tester.git] / Makefile
index fe1bf0d17faaa243e88b8ad7158ce6f913f6e324..5411f5838b1802ac45a712bcbff5c5b0f1c93831 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,8 @@ include common.mk
 OBJECTS := libthreads.o schedule.o model.o threads.o librace.o action.o \
           nodestack.o clockvector.o main.o snapshot-interface.o cyclegraph.o \
           datarace.o impatomic.o cmodelint.o \
-          snapshot.o malloc.o mymemory.o common.o mutex.o promise.o conditionvariable.o \
-          context.o execution.o plugins.o libannotate.o
+          snapshot.o malloc.o mymemory.o common.o mutex.o conditionvariable.o \
+          context.o execution.o libannotate.o plugins.o pthread.o futex.o fuzzer.o
 
 CPPFLAGS += -Iinclude -I.
 LDFLAGS := -ldl -lrt -rdynamic
@@ -32,10 +32,13 @@ docs: *.c *.cc *.h README.html
 README.html: README.md
        $(MARKDOWN) $< > $@
 
-
 malloc.o: malloc.c
        $(CC) -fPIC -c malloc.c -DMSPACES -DONLY_MSPACES -DHAVE_MMAP=0 $(CPPFLAGS) -Wno-unused-variable
 
+futex.o: futex.cc
+       $(CXX) -fPIC -c futex.cc -std=c++11 $(CPPFLAGS)
+
+
 %.o : %.cc
        $(CXX) -MMD -MF .$@.d -fPIC -c $< $(CPPFLAGS)
 
@@ -63,7 +66,7 @@ tags:
 
 PHONY += tests
 tests: $(LIB_SO)
-       $(MAKE) -C $(TESTS_DIR)
+#      $(MAKE) -C $(TESTS_DIR)
 
 BENCH_DIR := benchmarks