Yi Tseng | be34205 | 2017-11-03 10:21:23 -0700 | [diff] [blame^] | 1 | all: fabric.json |
2 | |||||
3 | fabric.json: fabric.p4 | ||||
4 | p4c-bm2-ss -o p4c-out/bmv2/fabric.json \ | ||||
5 | --p4runtime-file p4c-out/bmv2/fabric.p4info --p4runtime-format text \ | ||||
6 | fabric.p4 | ||||
7 | |||||
8 | clean: | ||||
9 | rm -rf p4c-out/bmv2/*.json | ||||
10 | rm -rf p4c-out/bmv2/*.p4info |