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 libannotate.o pthread.o
+ context.o execution.o libannotate.o pthread.o futex.o
CPPFLAGS += -Iinclude -I.
LDFLAGS := -ldl -lrt -rdynamic
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)
PHONY += tests
tests: $(LIB_SO)
- $(MAKE) -C $(TESTS_DIR)
+# $(MAKE) -C $(TESTS_DIR)
BENCH_DIR := benchmarks