The following commit has been merged in the master branch: commit 25119fc0da21628e1d2d590d50b49fd3b11dc9d5 Author: Sven Eckelmann sven@narfation.org Date: Sat May 21 15:10:34 2011 +0200
batmand: 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 2514c2d..3b517da 100755 --- a/Makefile +++ b/Makefile @@ -89,3 +89,5 @@ clean: install: mkdir -p $(SBINDIR) install -m 0755 $(BINARY_NAME) $(SBINDIR) + +.PHONY: all clean install