Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 1 | all: basic ecmp |
2 | |||||
3 | basic: basic.p4 | ||||
4 | p4c-bm2-ss -o p4c-out/bmv2/basic.json \ | ||||
5 | --p4runtime-file p4c-out/bmv2/basic.p4info \ | ||||
6 | --p4runtime-format text basic.p4 | ||||
7 | |||||
8 | ecmp: ecmp.p4 | ||||
9 | p4c-bm2-ss -o p4c-out/bmv2/ecmp.json \ | ||||
10 | --p4runtime-file p4c-out/bmv2/ecmp.p4info \ | ||||
11 | --p4runtime-format text ecmp.p4 | ||||
12 | clean: | ||||
13 | rm -rf p4c-out/bmv2/*.json | ||||
14 | rm -rf p4c-out/bmv2/*.p4info |