Makefile (all, clean): Make these be double-colon targets.
[preload-hacks] / Makefile
index 25e5d14..e6ddd66 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -138,11 +138,13 @@ DISTFILES         += $(patsubst %, debian/%.lintian-overrides, \
 ###--------------------------------------------------------------------------
 ### Building.
 
-all: $(TARGETS)
+all:: $(TARGETS)
 .PHONY: ALL
 
-clean:
-       rm -f *.o $(TARGETS)
+CLEAN                  += $(TARGETS)
+CLEAN                  += *.o
+clean::
+       rm -f $(CLEAN)
 .PHONY: clean
 
 ## Building sources.