Fix compile and readme
[c11tester.git] / libcdsTest / ms-queue / Makefile
1 all: intrusive_msqueue_hp.o
2
3 CXX = clang++
4
5 #%.o : %.cc 
6 #       $(CXX) -c $@
7
8 INCLUDE = -I. -I /scratch/benchmarks/libcds
9
10 INCLUDE += -Xclang -load -Xclang /scratch/llvm/build/lib/libCDSPass.so -I. -I /scratch/benchmarks/libcds
11
12 CPPFLAGS = $(INCLUDE) -g -O1 -std=c++11
13
14 CDSDIR=/scratch/benchmarks/libcds/build-release/bin
15 CDSLIB=-lcds_d -lpthread
16
17 intrusive_msqueue_hp.o: intrusive_msqueue_hp.cc
18         $(CXX) -o msqueue intrusive_msqueue_hp.cc $(CPPFLAGS) -L $(CDSDIR) $(CDSLIB)
19
20 clean:
21         rm -f *.o