blob: 1c481568988a41a060de8feeeddf63ca95d60fd6 [file] [log] [blame]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001all: basic int
Carmelo Casconeca94bcf2017-10-27 14:16:59 -07002
3basic: 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
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08008int: int.p4
9 p4c-bm2-ss -o p4c-out/bmv2/int.json \
10 --p4runtime-file p4c-out/bmv2/int.p4info \
11 --p4runtime-format text int.p4
12
Carmelo Casconeca94bcf2017-10-27 14:16:59 -070013clean:
14 rm -rf p4c-out/bmv2/*.json
Carmelo Cascone5167f322017-11-21 21:58:50 -080015 rm -rf p4c-out/bmv2/*.p4info