-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
38 lines (28 loc) · 894 Bytes
/
Makefile
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
#acceptable build_types: Release/Debug/Profile
build_type=Release
# build_type=Debug
.SILENT:
all: pedsim msgs navigation simulator pips
$(info Build_type is [${build_type}])
# $(MAKE) --no-print-directory -C build
clean:
rm -rf build bin lib
cd submodules/graph_navigation && rm -rf build bin lib
cd submodules/amrl_msgs && rm -rf build bin lib
cd submodules/ut_multirobot_sim && rm -rf build bin lib
cd submodules/pips && rm -rf build bin lib
build/CMakeLists.txt.copy: build CMakeLists.txt Makefile manifest.xml
cd build && cmake -DCMAKE_BUILD_TYPE=$(build_type) ..
cp CMakeLists.txt build/CMakeLists.txt.copy
build:
mkdir -p build
pedsim:
cd submodules/pedsim_ros && catkin_make
msgs:
cd submodules/amrl_msgs && $(MAKE)
navigation:
cd submodules/graph_navigation && $(MAKE)
simulator:
cd submodules/ut_multirobot_sim && $(MAKE)
pips:
cd submodules/pips && $(MAKE)