Initial Commit - Lesson 31 (Commit #1)
This commit is contained in:
29
Plugins/GameLiftServerSDK/ThirdParty/concurrentqueue/tests/relacy/makefile
vendored
Normal file
29
Plugins/GameLiftServerSDK/ThirdParty/concurrentqueue/tests/relacy/makefile
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
# ©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)
|
||||
Reference in New Issue
Block a user