aboutsummaryrefslogtreecommitdiffstats
path: root/c_src
diff options
context:
space:
mode:
Diffstat (limited to 'c_src')
-rw-r--r--c_src/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/c_src/Makefile b/c_src/Makefile
index 29eec47..c976202 100644
--- a/c_src/Makefile
+++ b/c_src/Makefile
@@ -12,9 +12,9 @@ MYSQLLIBS = $(MYSQLPREFIX)/lib/libmysqlclient.a
CFLAGS = -g -Wall -Werror $(MYSQLINCS) $(ERLINCS)
LDFLAGS = $(MYSQLLIBS) $(ERLLIBS)
-PRIVDIR = ../priv
+BINDIR = ../priv/bin
-BINS = $(PRIVDIR)/mysqlerl
+BINS = $(BINDIR)/mysqlerl
OBJS = io.o log.o msg.o mysqlerl.o
all: $(BINS)
@@ -22,8 +22,8 @@ all: $(BINS)
clean:
rm -rf *.o $(BINS)
-$(PRIVDIR)/mysqlerl: $(PRIVDIR) $(OBJS)
+$(BINDIR)/mysqlerl: $(BINDIR) $(OBJS)
$(CC) -o $@ $(OBJS) $(LDFLAGS)
-$(PRIVDIR):
- mkdir -p $(PRIVDIR)
+$(BINDIR):
+ mkdir -p $(BINDIR)