forked from COVESA/vehicle_signal_specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
22 lines (15 loc) · 870 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# Makefile to generate specifications
#
.PHONY: clean all json franca vsi
all: clean json franca vsi csv
json:
./tools/vspec2json.py -i:spec/VehicleSignalSpecification.id:1 -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).json
franca:
./tools/vspec2franca.py -v $$(cat VERSION) -i:spec/VehicleSignalSpecification.id:1 -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).fidl
vsi:
./tools/vspec2vsi.py -v $$(cat VERSION) -i:spec/VehicleSignalSpecification.id:1 -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).vsi
csv:
./tools/vspec2csv.py -i:spec/VehicleSignalSpecification.id:1 -I ./spec ./spec/VehicleSignalSpecification.vspec vss_rel_$$(cat VERSION).csv
clean:
rm -f vss_rel_$$(cat VERSION).json vss_rel_$$(cat VERSION).fidl vss_rel_$$(cat VERSION).vsi vss_rel_$$(cat VERSION).csv