From 91cc8a42df29fec7bf20189549f23e79f278856d Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Fri, 7 Mar 2008 20:58:07 -0500 Subject: Parameterize the erl interface path. --- src/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Makefile') 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 -- cgit v1.2.3