blob: f695e02e91cedaf54c769802d4ed0b691abb8a66 [file] [log] [blame]
all: basic ecmp
basic: basic.p4
p4c-bm2-ss -o p4c-out/bmv2/basic.json \
--p4runtime-file p4c-out/bmv2/basic.p4info \
--p4runtime-format text basic.p4
ecmp: ecmp.p4
p4c-bm2-ss -o p4c-out/bmv2/ecmp.json \
--p4runtime-file p4c-out/bmv2/ecmp.p4info \
--p4runtime-format text ecmp.p4
clean:
rm -rf p4c-out/bmv2/*.json
rm -rf p4c-out/bmv2/*.p4info