diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-07-08 23:47:51 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-07-08 23:47:51 +0200 |
commit | f75984633b25017d13e60d9f2d48515f856b166d (patch) | |
tree | 88a7b6b16a8ea60bb5f0a8992bf96855f69d38fd | |
parent | 20fed83e0f648309d259a367f9e7959a665d292b (diff) |
ndpiSimpleIntegration should not be included in a static library
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | example/Makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/Makefile.in b/example/Makefile.in index d71ce3f01..df7885166 100644 --- a/example/Makefile.in +++ b/example/Makefile.in @@ -11,14 +11,14 @@ PREFIX?=@prefix@ all: ndpiReader @DPDK_TARGET@ -EXECUTABLE_SOURCES := ndpiReader.c +EXECUTABLE_SOURCES := ndpiReader.c ndpiSimpleIntegration.c COMMON_SOURCES := $(filter-out $(EXECUTABLE_SOURCES),$(wildcard *.c )) libndpiReader.a: $(COMMON_SOURCES:%.c=%.o) $(LIBNDPI) ar rsv libndpiReader.a $(COMMON_SOURCES:%.c=%.o) -ndpiReader: libndpiReader.a $(LIBNDPI) $(EXECUTABLE_SOURCES:%.c=%.o) - $(CC) $(CFLAGS) $(EXECUTABLE_SOURCES:%.c=%.o) libndpiReader.a -o $@ $(LDFLAGS) +ndpiReader: libndpiReader.a $(LIBNDPI) ndpiReader.o + $(CC) $(CFLAGS) ndpiReader.o libndpiReader.a -o $@ $(LDFLAGS) ndpiSimpleIntegration: ndpiSimpleIntegration.o $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) |