aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-17 13:05:16 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-11-17 13:05:16 -0800
commite12a6b91ac795fb6e930b810f6aca2939ca5900e (patch)
tree6f5e4d99bdfe7d7c648f793380f786752248ec72 /Makefile
parent9c2d0714fe6bf7ed5d12b8fdde656a22915733ff (diff)
Makefile: Change default install prefix from /usr to /usr/local
We'll be a much more polite package this way. And the user can change the prefix by editing Makefile.config. Still to be done is to make configure write out Makefile.config and to add a --prefix option to configure.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 19b51491..436dacfc 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,9 @@ override LDFLAGS += `pkg-config --libs glib-2.0 gmime-2.4 talloc` \
include Makefile.local
include lib/Makefile.local
+# And get user settings from the output of configure
+include Makefile.config
+
%.o: %.cc
$(CXX) -c $(CFLAGS) $(CXXFLAGS) $< -o $@