removed the cleanall command, clean now cleans bin objs and deps
authorPatrik Gornicz <Gornicz.P@gmail.com>
Sun, 23 Aug 2009 20:14:37 +0000 (16:14 -0400)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Sun, 23 Aug 2009 20:14:37 +0000 (16:14 -0400)
This was done because the parallel deps creation with objs will create
the deps even when not cleaned. So why not clean everything with clean?

Makefile.d/cleanrules.mk
targets.mk
targets.txt

index 7c838d2..a609022 100644 (file)
@@ -27,10 +27,5 @@ cleandeps-$T:
 L_CLEANCMDS +=  clean-$T
 clean:          clean-$T
 .PHONY:         clean-$T
-clean-$T: cleanobjs-$T cleanbin-$T
-
-L_CLEANCMDS +=  cleanall-$T
-cleanall:       cleanall-$T
-.PHONY:         cleanall-$T
-cleanall-$T: cleanbin-$T cleanobjs-$T cleandeps-$T
+clean-$T: cleanbin-$T cleanobjs-$T cleandeps-$T
 
index 9724021..2732ee3 100644 (file)
@@ -51,11 +51,7 @@ cleandeps:
 
 L_CLEANCMDS +=  clean
 .PHONY:         clean
-clean: cleanobjs
-
-L_CLEANCMDS +=  cleanall
-.PHONY:         cleanall
-cleanall: cleanbin cleanobjs cleandeps
+clean: cleanbin cleanobjs cleandeps
 
 
 default: ${G_ALL_LIB}
index 7e1384b..f6281c4 100644 (file)
@@ -9,10 +9,6 @@ clean
 clean-lib
 clean-physics
 clean-tests
-cleanall
-cleanall-lib
-cleanall-physics
-cleanall-tests
 cleanbin
 cleanbin-lib
 cleanbin-physics