This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 as build | |
RUN apt-get update -qq | |
RUN apt-get install -qq \ | |
libnet-dev \ | |
libnl-route-3-dev \ | |
gcc \ | |
bsdmainutils \ | |
build-essential \ | |
git-core \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: build run | |
build: | |
gcc -Wall dst.c -o dst | |
gcc -Wall src.c -o src | |
run: t1 t2 t3 t4 t5 t6 t7 t8 | |
cat *.log >> results.txt | |
rm -f *.log |