blob: ca8430b258df73ad7cbfece1d5598c8c291cb561 [file] [log] [blame]
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08001all: basic int
Carmelo Casconeca94bcf2017-10-27 14:16:59 -07002
3basic: basic.p4
Carmelo Cascone6af4e172018-06-15 16:01:30 +02004 p4c-bm2-ss --arch v1model -o p4c-out/bmv2/basic.json \
Carmelo Casconeca94bcf2017-10-27 14:16:59 -07005 --p4runtime-file p4c-out/bmv2/basic.p4info \
6 --p4runtime-format text basic.p4
7
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -08008int: int.p4
Carmelo Cascone6af4e172018-06-15 16:01:30 +02009 p4c-bm2-ss --arch v1model -o p4c-out/bmv2/int.json \
Jonghwan Hyun4a9a6712017-11-13 14:43:55 -080010 --p4runtime-file p4c-out/bmv2/int.p4info \
11 --p4runtime-format text int.p4
12
Carmelo Casconeca94bcf2017-10-27 14:16:59 -070013clean:
Carmelo Cascone6af4e172018-06-15 16:01:30 +020014 rm -rf p4c-out/bmv2/*