From 206909c09183a1ace1f2c83e9ec3dfc45015b904 Mon Sep 17 00:00:00 2001 From: Katze Miau Date: Fri, 2 Mar 2012 09:02:49 +0000 Subject: Makefile: add target clean diff --git a/Makefile b/Makefile index 7cd46d6..0807250 100644 --- a/Makefile +++ b/Makefile @@ -55,3 +55,7 @@ image/%: config/$$(REPO)-$$(HW).config openwrt/$$(REPO)/.repo_access cd openwrt/$(REPO) && $(MAKE) -j$(NUMPROC) mkdir -p $(shell dirname $@) rsync -a openwrt/$(REPO)/bin/$(PLATFORM)/ $@/ + +clean: + -rm -r config/*.config image/* + -for i in openwrt/*; do (cd $$i && $(MAKE) clean); done -- cgit v0.10.1