summaryrefslogtreecommitdiffstats
path: root/extras/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'extras/Makefile')
-rw-r--r--extras/Makefile17
1 files changed, 17 insertions, 0 deletions
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