Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 1 | all: basic int |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 2 | |
| 3 | basic: basic.p4 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 4 | p4c-bm2-ss --arch v1model -o p4c-out/bmv2/basic.json \ |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 5 | --p4runtime-file p4c-out/bmv2/basic.p4info \ |
| 6 | --p4runtime-format text basic.p4 |
| 7 | |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 8 | int: int.p4 |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 9 | p4c-bm2-ss --arch v1model -o p4c-out/bmv2/int.json \ |
Jonghwan Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame] | 10 | --p4runtime-file p4c-out/bmv2/int.p4info \ |
| 11 | --p4runtime-format text int.p4 |
| 12 | |
Carmelo Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 13 | clean: |
Carmelo Cascone | 6af4e17 | 2018-06-15 16:01:30 +0200 | [diff] [blame] | 14 | rm -rf p4c-out/bmv2/* |