aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorTravis Geiselbrecht <geist@geist-desktop.(none)>2009-11-27 13:37:03 -0800
committerTravis Geiselbrecht <geist@geist-desktop.(none)>2009-11-27 13:37:03 -0800
commitc7a992f524a33de448584c2854d4af5f415219cc (patch)
treee9e3f6cb94d1706de5bb7f52d53185d021bfb410 /makefile
parent2d23d7f9e357457856c1666ebaef2095fa933590 (diff)
downloadcommon-c7a992f524a33de448584c2854d4af5f415219cc.tar.gz
[make] make the spotless target not depend on anything
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/makefile b/makefile
index d3fe248a..d2cd5793 100644
--- a/makefile
+++ b/makefile
@@ -1,3 +1,8 @@
+ifeq ($(MAKECMDGOALS),spotless)
+spotless:
+ rm -rf build-*
+else
+
-include local.mk
include make/macros.mk
@@ -132,9 +137,6 @@ include make/build.mk
clean: $(EXTRA_CLEANDEPS)
rm -f $(ALLOBJS) $(DEPS) $(GENERATED) $(OUTBIN) $(OUTELF) $(OUTELF).lst
-spotless:
- rm -rf build-*
-
install: all
scp $(OUTBIN) 192.168.0.4:/tftproot
@@ -171,3 +173,5 @@ endif
.PHONY: configheader
endif
+
+endif # make spotless