The following commit has been merged in the master branch: commit d487861eab6748165c72e6f064f37742057049ff Author: Sven Eckelmann sven@narfation.org Date: Sat May 21 14:28:10 2011 +0200
batctl: 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 8fc2300..f95a9d2 100755 --- a/Makefile +++ b/Makefile @@ -60,3 +60,5 @@ clean: install: mkdir -p $(SBINDIR) install -m 0755 $(BINARY_NAME) $(SBINDIR) + +.PHONY: all clean install