Return-Path: From: Sven Eckelmann Date: Sat, 21 May 2011 15:45:10 +0200 Message-Id: <1305985517-3763-6-git-send-email-sven@narfation.org> In-Reply-To: <1305985517-3763-1-git-send-email-sven@narfation.org> References: <1305985517-3763-1-git-send-email-sven@narfation.org> Subject: [B.A.T.M.A.N.] [PATCH 06/13] vis: Mark makefile targets without output as PHONY Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org 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 --- This patch depends on other patches submitted earlier: - vis: Remove obsolete creation of source packages - vis: Remove subversion/svk revision information Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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 -- 1.7.5.1