Skip to content

Commit

Permalink
Merge pull request #645 from vitalivanov/pull_example_dpdk_cleanups
Browse files Browse the repository at this point in the history
build: cleanup of dpdk examples.
  • Loading branch information
lucaderi committed Dec 4, 2018
2 parents be2934f + fd96353 commit 067c3da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions example/Makefile.in
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 067c3da

Please sign in to comment.