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 --- trafgen/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'trafgen/Makefile') diff --git a/trafgen/Makefile b/trafgen/Makefile index 3747661..f822fb9 100644 --- a/trafgen/Makefile +++ b/trafgen/Makefile @@ -23,3 +23,8 @@ trafgen-objs = xmalloc.o \ trafgen-lex = trafgen_lexer.yy.o trafgen-yaac = trafgen_parser.tab.o + +trafgen-eflags = $(shell pkg-config --cflags libnl-3.0) \ + $(shell pkg-config --cflags libnl-genl-3.0) \ + -I.. \ + -D__WITH_PROTOS -- cgit v1.2.3-54-g00ecf