From 96b4d0cea5045770e2343908c40cbfc6ebb4ac1e Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Thu, 11 Jul 2013 15:11:56 +0200 Subject: build: refactor tool specific flags into /Makefile To get the normal Makefile a bit cleaner, push the tool specific build options into /Makefile. Signed-off-by: Daniel Borkmann --- netsniff-ng/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'netsniff-ng') diff --git a/netsniff-ng/Makefile b/netsniff-ng/Makefile index 55335e5..fa4976d 100644 --- a/netsniff-ng/Makefile +++ b/netsniff-ng/Makefile @@ -72,3 +72,7 @@ endif ifeq ($(CONFIG_HWTSTAMP), 1) netsniff-ng-objs += tstamping.o endif + +netsniff-ng-eflags = $(shell pkg-config --cflags libnl-3.0) \ + $(shell pkg-config --cflags libnl-genl-3.0) \ + -D__WITH_PROTOS -- cgit v1.2.3-54-g00ecf