-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtools.mk
More file actions
33 lines (26 loc) · 919 Bytes
/
tools.mk
File metadata and controls
33 lines (26 loc) · 919 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
29
30
31
32
# cddl and curl are prerequisite
# fail hard if they are not found
cddl ?= $(shell command -v cddl)
ifeq ($(strip $(cddl)),)
$(error cddl not found. To install cddl: 'gem install cddl')
endif
cddlc ?= $(shell command -v cddlc)
ifeq ($(strip $(cddlc)),)
$(error cddlc not found. To install cddl: 'gem install cddlc')
endif
curl ?= $(shell command -v curl)
ifeq ($(strip $(curl)),)
$(error curl not found)
endif
diag2diag ?= $(shell command -v diag2diag.rb)
ifeq ($(strip $(diag2diag)),)
$(error diag2diag.rb not found. To install diag2diag.rb: 'gem install cbor-diag')
endif
diag2cbor ?= $(shell command -v diag2cbor.rb)
ifeq ($(strip $(diag2cbor)),)
$(error diag2cbor.rb not found. To install diag2cbor.rb: 'gem install cbor-diag')
endif
cbor2pretty ?= $(shell command -v cbor2pretty.rb)
ifeq ($(strip $(cbor2pretty)),)
$(error cbor2pretty.rb not found. To install cbor2pretty.rb: 'gem install cbor-diag')
endif