Return-Path: From: Sven Eckelmann Date: Sat, 21 May 2011 15:10:34 +0200 Message-Id: <1305983442-1607-6-git-send-email-sven@narfation.org> In-Reply-To: <1305983442-1607-1-git-send-email-sven@narfation.org> References: <1305983442-1607-1-git-send-email-sven@narfation.org> Subject: [B.A.T.M.A.N.] [PATCH 06/14] batmand: 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: - batmand: Fix FTBFS on second build attempt - batmand: Remove obsolete creation of source packages - batmand: Remove subversion/svk revision information - batmand: Use nproc to get number of available processors Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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 -- 1.7.5.1