From ca6003af1a7e1adb7d45879c2d5038bc05c2bb1a Mon Sep 17 00:00:00 2001 From: Ondrej Fabry Date: Fri, 2 Aug 2019 15:07:53 +0200 Subject: Migrate to modules, refactor Makefile and use Travis for CI - migrate to Go modules and remove vendor - refactor Makefile - add version package and store version - split extras from the rest - use travis for CI Change-Id: I81b35220653b0f7c9a0fcdd4c527d691ec1e96c1 Signed-off-by: Ondrej Fabry --- extras/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 extras/Makefile (limited to 'extras/Makefile') diff --git a/extras/Makefile b/extras/Makefile new file mode 100644 index 0000000..eae5627 --- /dev/null +++ b/extras/Makefile @@ -0,0 +1,17 @@ +GO ?= GO111MODULE=on go + +build: extras + +extras: + @echo "=> building extras" + cd libmemif/examples/gopacket && $(GO) build -v + cd libmemif/examples/icmp-responder && $(GO) build -v + cd libmemif/examples/jumbo-frames && $(GO) build -v + cd libmemif/examples/raw-data && $(GO) build -v + +clean: + @echo "=> cleaning extras" + go clean -v ./... + + +.PHONY: build extras clean \ No newline at end of file -- cgit 1.2.3-korg