aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2008-03-07 20:58:07 -0500
committerBrian Cully <github.20.shmit@spamgourmet.com>2008-03-07 20:58:07 -0500
commit91cc8a42df29fec7bf20189549f23e79f278856d (patch)
tree08571ebee9d6fefb63e6c154459c8b4527178e48
parentb5f483848a6833b059579c2ebb38f6986b1cb046 (diff)
downloadmysqlerl-91cc8a42df29fec7bf20189549f23e79f278856d.tar.gz
mysqlerl-91cc8a42df29fec7bf20189549f23e79f278856d.zip
Parameterize the erl interface path.
-rw-r--r--src/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index c29b76f..bc57115 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,8 +1,10 @@
+ERLINTERFACE = erl_interface-3.5.5.3
+
CFLAGS = -I/usr/local/mysql/include \
- -I$(HOME)/lib/erlang/lib/erl_interface-3.5.5.3/include \
+ -I$(HOME)/lib/erlang/lib/erl_interface-$(ERLINTERFACE)/include \
-O2 -g -Wall -Werror
LDFLAGS = -L/usr/local/mysql/lib \
- -L$(HOME)/lib/erlang/lib/erl_interface-3.5.5.3/lib \
+ -L$(HOME)/lib/erlang/lib/erl_interface-$(ERLINTERFACE)/lib \
-lerl_interface -lei
EFLAGS = -W +debug_info