You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
concurrentqueue/tests/relacy/makefile

30 lines
778 B
Makefile

# ©2014-2015 Cameron Desrochers
include ../../build/makefile.inc
ifeq ($(OS),Windows_NT)
PLATFORM_OPTS = -static
else
PLATFORM_OPTS = -lrt
endif
OPTS = -Wno-int-to-pointer-cast -pthread $(PLATFORM_OPTS) -O3 -g
default: freelist$(EXT) spmchash$(EXT) integrated$(EXT)
freelist$(EXT): makefile freelist.cpp
g++ -std=c++11 -fpermissive $(OPTS) freelist.cpp -o freelist$(EXT)
spmchash$(EXT): makefile spmchash.cpp
g++ -std=c++11 -fpermissive $(OPTS) spmchash.cpp -o spmchash$(EXT)
integrated$(EXT): makefile integrated.cpp ../../concurrentqueue.h relacy_shims.h
g++ -std=c++11 -fpermissive $(OPTS) -Irelacy -I. integrated.cpp -o integrated$(EXT)
#run: freelist$(EXT)
# ./freelist$(EXT)
#run: spmchash$(EXT)
# ./spmchash$(EXT)
run: integrated$(EXT)
./integrated$(EXT)