-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 812 Bytes
/
Makefile
File metadata and controls
28 lines (21 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
CXX ?= g++
CXXFLAGS ?= -Wall -Wextra -std=c++11
TEST_CPPFLAGS ?= -DCATCH_CONFIG_NO_POSIX_SIGNALS
.PHONY: default test clean doc deploy installation
default:
mkdir -p build/bin
$(CXX) $(CXXFLAGS) -o build/bin/sbet-decoder src/sbet-decoder.cpp src/SbetProcessor.cpp
$(CXX) $(CXXFLAGS) -o build/bin/accuracy-decoder src/accuracy-decoder.cpp
test: clean default
mkdir -p build/test/reports
$(CXX) $(CXXFLAGS) $(TEST_CPPFLAGS) -o build/test/tests test/CatchMain.cpp
build/test/tests -r junit -o build/test/reports/sbet-test-linux-report.xml
clean:
rm -rf build
doc:
rm -rf build/doxygen
mkdir -p build/doxygen
doxygen
deploy:
installation:
../Qt/QtIFW-3.1.1/bin/binarycreator -t ../Qt/QtIFW-3.1.1/bin/installerbase -p SBET-decoder_Directory -c SBET-decoder_Directory/config/config.xml SBET-decoder