[make] make the spotless target not depend on anything

This commit is contained in:
Travis Geiselbrecht
2009-11-27 13:37:03 -08:00
parent 2d23d7f9e3
commit c7a992f524

View File

@@ -1,3 +1,8 @@
ifeq ($(MAKECMDGOALS),spotless)
spotless:
rm -rf build-*
else
-include local.mk -include local.mk
include make/macros.mk include make/macros.mk
@@ -132,9 +137,6 @@ include make/build.mk
clean: $(EXTRA_CLEANDEPS) clean: $(EXTRA_CLEANDEPS)
rm -f $(ALLOBJS) $(DEPS) $(GENERATED) $(OUTBIN) $(OUTELF) $(OUTELF).lst rm -f $(ALLOBJS) $(DEPS) $(GENERATED) $(OUTBIN) $(OUTELF) $(OUTELF).lst
spotless:
rm -rf build-*
install: all install: all
scp $(OUTBIN) 192.168.0.4:/tftproot scp $(OUTBIN) 192.168.0.4:/tftproot
@@ -171,3 +173,5 @@ endif
.PHONY: configheader .PHONY: configheader
endif endif
endif # make spotless