From 42f031beed5f6a455e6a7725a3a14710d3702f60 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 24 Jan 2005 11:06:31 +0000 Subject: Use .PHONY to ensure the various fake make targets (`all', `clean', `install' etc) don't get confused by the existence of a file with the same name. Required in particular for `make install' on OS X, since otherwise its case-insensitive fs gets confused by INSTALL. [originally from svn r5189] --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index eab0e3e..27ed0c3 100644 --- a/Makefile +++ b/Makefile @@ -9,12 +9,15 @@ # Currently depends on GNU make, because: # - the Makefile uses GNU ifdef / ifndef commands and GNU make `%' # pattern rules +# - we use .PHONY prefix=/usr/local exec_prefix=$(prefix) bindir=$(exec_prefix)/bin INSTALL=install -c +.PHONY: all install clean spotless topclean release + ifdef RELEASE ifndef VERSION VERSION := $(RELEASE) -- cgit v1.1