diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-07-11 15:11:56 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-07-11 15:11:56 +0200 |
commit | 96b4d0cea5045770e2343908c40cbfc6ebb4ac1e (patch) | |
tree | b1447867ee4779fa2e7b9f0c6fb0c742f1f1f6bc /trafgen/Makefile | |
parent | 043db4056d88e175ccd22f02ccbd6be41560d309 (diff) |
build: refactor tool specific flags into <tool>/Makefile
To get the normal Makefile a bit cleaner, push the tool specific
build options into <tool>/Makefile.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'trafgen/Makefile')
-rw-r--r-- | trafgen/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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 |