aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2018-12-04 15:43:18 -0800
committerGitHub <noreply@github.com>2018-12-04 15:43:18 -0800
commit067c3dad4405a32671fbec518e1935d08b2e2ca6 (patch)
tree7b7e9f35a6dc1ddde8b28f64379bd1a00a19868f
parentbe2934f9ad2f9ea21ca19a9f64e5bf3b67e22447 (diff)
parentfd963538f3c93800b870283b31313257930af715 (diff)
Merge pull request #645 from vitalivanov/pull_example_dpdk_cleanups
build: cleanup of dpdk examples.
-rw-r--r--example/Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/example/Makefile.in b/example/Makefile.in
index 050cac8e1..bf218f503 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -13,7 +13,7 @@ ndpiReader: $(OBJS) $(LIBNDPI)
%.o: %.c $(HEADERS) Makefile
$(CC) $(CFLAGS) -c $< -o $@
-install: ndpiReader
+install:
mkdir -p $(DESTDIR)$(PREFIX)/bin/
cp ndpiReader $(DESTDIR)$(PREFIX)/bin/
[ -f build/app/ndpiReader.dpdk ] && cp build/app/ndpiReader.dpdk $(DESTDIR)$(PREFIX)/bin/ || true
@@ -23,7 +23,9 @@ dpdk:
make -f Makefile.dpdk
clean:
- /bin/rm -f *.o ndpiReader
+ /bin/rm -f *.o ndpiReader ndpiReader.dpdk
+ /bin/rm -f .*.dpdk.cmd .*.o.cmd *.dpdk.map .*.o.d
+ /bin/rm -f _install _postbuild _postinstall _preinstall
/bin/rm -rf build
distclean: clean