blob: f695e02e91cedaf54c769802d4ed0b691abb8a66 [file] [log] [blame]
Carmelo Casconeca94bcf2017-10-27 14:16:59 -07001all: basic ecmp
2
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
8ecmp: ecmp.p4
9 p4c-bm2-ss -o p4c-out/bmv2/ecmp.json \
10 --p4runtime-file p4c-out/bmv2/ecmp.p4info \
11 --p4runtime-format text ecmp.p4
12clean:
13 rm -rf p4c-out/bmv2/*.json
14 rm -rf p4c-out/bmv2/*.p4info