aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile.in
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-06-24 22:03:18 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-06-24 22:03:18 +0200
commit17c26911fbba3a79a410c4386c6e5954dd56740e (patch)
tree4302d80bf0ac2fed7d9342a26c80ea8d7ceab802 /example/Makefile.in
parentd9af1562f00d2b9ac9fe5f4e745a84164656fea1 (diff)
ndpiSimpleIntegration: added another integration example
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'example/Makefile.in')
-rw-r--r--example/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index c82a611c8..d71ce3f01 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -18,7 +18,10 @@ libndpiReader.a: $(COMMON_SOURCES:%.c=%.o) $(LIBNDPI)
ar rsv libndpiReader.a $(COMMON_SOURCES:%.c=%.o)
ndpiReader: libndpiReader.a $(LIBNDPI) $(EXECUTABLE_SOURCES:%.c=%.o)
- $(CXX) $(CFLAGS) $(EXECUTABLE_SOURCES:%.c=%.o) libndpiReader.a -o $@ $(LDFLAGS)
+ $(CC) $(CFLAGS) $(EXECUTABLE_SOURCES:%.c=%.o) libndpiReader.a -o $@ $(LDFLAGS)
+
+ndpiSimpleIntegration: ndpiSimpleIntegration.o
+ $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
%.o: %.c $(HEADERS) Makefile
$(CC) $(CFLAGS) -c $< -o $@