summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-01-24 11:06:31 +0000
committerSimon Tatham <anakin@pobox.com>2005-01-24 11:06:31 +0000
commit42f031beed5f6a455e6a7725a3a14710d3702f60 (patch)
tree10383f10bf998602ff8e619342206ede6ea574b7
parentc011833b579018f69336c63f0de222e116da4a6a (diff)
downloadhalibut-42f031beed5f6a455e6a7725a3a14710d3702f60.zip
halibut-42f031beed5f6a455e6a7725a3a14710d3702f60.tar.gz
halibut-42f031beed5f6a455e6a7725a3a14710d3702f60.tar.bz2
halibut-42f031beed5f6a455e6a7725a3a14710d3702f60.tar.xz
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]
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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)