aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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