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 |
| 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 Hyun | 4a9a671 | 2017-11-13 14:43:55 -0800 | [diff] [blame^] | 8 | int: 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 Cascone | ca94bcf | 2017-10-27 14:16:59 -0700 | [diff] [blame] | 13 | clean: |
| 14 | rm -rf p4c-out/bmv2/*.json |
Carmelo Cascone | 5167f32 | 2017-11-21 21:58:50 -0800 | [diff] [blame] | 15 | rm -rf p4c-out/bmv2/*.p4info |