-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
50 lines (29 loc) · 1.01 KB
/
makefile
File metadata and controls
50 lines (29 loc) · 1.01 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# To see a list of available make targets from bash, type:
# make <space> <tab> <tab>
include makefile-generic.mk
# Set default compiler toolchain (can still override from command line)
config := clang
CPPFLAGS := -IOP2Utility/include/
CXXFLAGS := -std=c++17 -O2 -g -Wall -Wno-unknown-pragmas
LDFLAGS := -LOP2Utility/
LDLIBS := -lOP2Utility -lstdc++fs
.PHONY: all op2utility clean-op2utility clean-all-op2utility
all: missionScanner
op2utility:
+make -C OP2Utility/ CXX="$(CXX)"
clean-op2utility:
make -C OP2Utility/ CXX="$(CXX)" clean
clean-all-op2utility:
make -C OP2Utility/ CXX="$(CXX)" clean-all
missionScanner.exe: | op2utility
clean: clean-op2utility
clean-all: clean-all-op2utility
$(eval $(call DefineCppProject,missionScanner,missionScanner.exe,./*.cpp))
# Docker and CircleCI commands
# $(eval $(call DefineDockerImage,.circleci/,outpostuniverse/gcc-mingw-wine-googletest-circleci,1.2))
# $(eval $(call DefineCircleCi))
ifdef Outpost2Path
.PHONY: run
run:
./missionScanner.exe "$(Outpost2Path)"
endif