Avoid spurious error messages during make clean
Modified: branches/xmlbuildsystem/reactos/tools/bin2res/bin2res.mak
Modified: branches/xmlbuildsystem/reactos/tools/cdmake/cdmake.mak
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.mak

Modified: branches/xmlbuildsystem/reactos/tools/bin2res/bin2res.mak
--- branches/xmlbuildsystem/reactos/tools/bin2res/bin2res.mak	2005-04-03 10:05:00 UTC (rev 14465)
+++ branches/xmlbuildsystem/reactos/tools/bin2res/bin2res.mak	2005-04-03 10:05:52 UTC (rev 14466)
@@ -24,7 +24,7 @@
 	)
 
 BIN2RES_OBJECTS = \
-	$addprefix ( $(INTERMEDIATE_), $(BIN2RES_SOURCES:.c=.o) )
+	$(addprefix $(INTERMEDIATE_), $(BIN2RES_SOURCES:.c=.o))
 
 BIN2RES_HOST_CFLAGS = -Iinclude/wine -D__REACTOS__ -g -Werror -Wall
 
@@ -43,6 +43,6 @@
 	${host_gcc} $(BIN2RES_HOST_CFLAGS) -c $< -o $@
 
 .PHONY: bin2res_clean
-bin2res_clean:
+bin2res_clean: $(BIN2RES_TARGET)
 	-@$(rm) $(BIN2RES_TARGET) $(BIN2RES_OBJECTS) 2>$(NUL)
 clean: bin2res_clean

Modified: branches/xmlbuildsystem/reactos/tools/cdmake/cdmake.mak
--- branches/xmlbuildsystem/reactos/tools/cdmake/cdmake.mak	2005-04-03 10:05:00 UTC (rev 14465)
+++ branches/xmlbuildsystem/reactos/tools/cdmake/cdmake.mak	2005-04-03 10:05:52 UTC (rev 14466)
@@ -46,6 +46,6 @@
 	${host_gcc} $(CDMAKE_HOST_CFLAGS) -c $< -o $@
 
 .PHONY: cdmake_clean
-cdmake_clean:
+cdmake_clean: $(CDMAKE_TARGET)
 	-@$(rm) $(CDMAKE_TARGET) $(CDMAKE_OBJECTS) 2>$(NUL)
 clean: cdmake_clean

Modified: branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.mak
--- branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.mak	2005-04-03 10:05:00 UTC (rev 14465)
+++ branches/xmlbuildsystem/reactos/tools/rbuild/rbuild.mak	2005-04-03 10:05:52 UTC (rev 14466)
@@ -312,7 +312,11 @@
 	$(ECHO_TEST)
 	$(Q)$(RBUILD_TEST_TARGET)
 
+.PHONY: rbuild_test_clean
+rbuild_test_clean: $(RBUILD_TEST_TARGET) $(RBUILD_TESTS_INT)
+	-@$(rm) $(RBUILD_TEST_TARGET) $(RBUILD_TEST_SPECIAL_OBJECTS) 2>$(NUL)
+
 .PHONY: rbuild_clean
-rbuild_clean:
-	-@$(rm) $(RBUILD_TARGET) $(RBUILD_OBJECTS) $(RBUILD_TEST_TARGET) $(RBUILD_TEST_OBJECTS) 2>$(NUL)
+rbuild_clean: $(RBUILD_TARGET) $(RBUILD_OBJECTS) $(RBUILD_TESTS_INT)
+	-@$(rm) $(RBUILD_TARGET) $(RBUILD_OBJECTS) 2>$(NUL)
 clean: rbuild_clean