The following commit has been merged in the master branch: commit cc952dd70ea1c2303fa8b9382e52c24b0991cf6e Author: Sven Eckelmann sven@narfation.org Date: Sat May 21 15:45:10 2011 +0200
vis: Mark makefile targets without output as PHONY
Normally makefile targets should create an output with the same name as the target. It is necessary to mark them as PHONY to prevent that the virtual target like all, clean or install aren't executed when a file with the same name exists.
Signed-off-by: Sven Eckelmann sven@narfation.org
diff --git a/Makefile b/Makefile index d9b011c..5cbff33 100755 --- a/Makefile +++ b/Makefile @@ -59,3 +59,5 @@ clean: install: mkdir -p $(SBINDIR) install -m 0755 $(BINARY_NAME) $(SBINDIR) + +.PHONY: all clean install