From de249ee7c2f09a3c66f70c186faed4648cc1086c Mon Sep 17 00:00:00 2001 From: Andrej Kozemcak Date: Fri, 18 Jan 2019 10:07:28 +0100 Subject: Makefile, add clean commnad Change-Id: I915dc489866c54cd37066727b83c4ecef87377b4 Signed-off-by: Andrej Kozemcak --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 576c6e6..bce9130 100644 --- a/Makefile +++ b/Makefile @@ -67,6 +67,8 @@ help: @echo " fixstyle - fix coding style" @echo " build-scvpp - build scvpp" @echo " build - build plugin" + @echo " clean - clean all build" + @echo " distclean - remove all build directory" $(BR)/.deps.ok: ifeq ($(findstring y,$(UNATTENDED)),y) make install-dep @@ -191,3 +193,11 @@ build-scvpp: @mkdir -p $(BR)/build-scvpp/;cd $(BR)/build-scvpp;cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/scvpp/;make install; build: @mkdir -p $(BR)/build-plugins/;cd $(BR)/build-plugins/;cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr $(WS_ROOT)/src/plugins/;make install; + +clean: + @cd $(BR)/build-scvpp && make clean; + @cd $(BR)/build-plugins && make clean; + +distclean: + @rm -rf $(BR)/build-scvpp + @rm -rf $(BR)/build-plugins -- cgit 1.2.3-korg