-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
45 lines (37 loc) · 916 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
39
40
41
42
43
44
45
CMD ?= bash
runtime ?= runc
network ?= host
name ?= kamera
DAQDEV ?= mcc_daq
REPO_DIR ?= $(shell realpath ${PWD})
REPO_DIR_BASEDIR ?= $(shell dirname $(REPO_DIR))
ROS_MASTER_URI ?= not_set_your_config_is_bad
## Docker buildkit - disable by setting to 0 if you have issues
DAQPATH = $(shell readlink -f "/dev/$(DAQDEV)")
PROJ_DIR=/root/kamera
WS_DIR=/root/kamera
ROS_DISTRO=noetic
BRANCH=latest
.PHONY: info
info:
@echo REPO_DIR_BASEDIR=$(REPO_DIR_BASEDIR)
@echo ROS_MASTER_URI=$(ROS_MASTER_URI)
@echo REDIS_HOST=$(REDIS_HOST)
.PHONY: build
build:
docker compose build
.PHONY: nuvo
nuvo:
docker compose --profile nuvo build
.PHONY: viame
viame:
docker compose --profile viame build
.PHONY: gui
gui:
ROS_DISTRO=kinetic docker compose --profile gui build
.PHONY: postflight
postflight:
docker compose --profile pf build
.PHONY: clean
clean:
rm -rf .ros .catkin_tools .cmake .config build* devel* logs*