summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-01-18 23:57:21 -0500
committerAdam <Adam@anope.org>2011-01-18 23:57:21 -0500
commit0dda705cdb0a950c9ffa38793272a43abfc16a2a (patch)
tree0ad288f8434e42a9c85b2b69f932f71d1b6bad65 /src
parentf4d7ae2e1245c9421aee41229a1a20a56188c7b1 (diff)
Bug #1227 - Fixed 'make install' recompiling src/tools
Diffstat (limited to 'src')
-rw-r--r--src/tools/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/Makefile b/src/tools/Makefile
index 8213a07fa..4dffbf0df 100644
--- a/src/tools/Makefile
+++ b/src/tools/Makefile
@@ -10,7 +10,7 @@ MAKEARGS = 'CFLAGS=${CFLAGS}' 'CC=${CC}' 'ANOPELIBS=${ANOPELIBS}' \
'RUNGROUP=${RUNGROUP}'
.c.o:
- $(CC) $(CFLAGS) -I../include/ -c $<
+ $(CC) $(CFLAGS) -I../include/ $< -o $*
all: ${OBJS}
@@ -26,7 +26,7 @@ clean:
spotless: clean
-install: anopesmtp db-merger epona2anope
+install:
test -d ${BINDEST} || mkdir ${BINDEST}
test -d $(BINDEST)/tools || mkdir $(BINDEST)/tools
$(INSTALL) anopesmtp $(BINDEST)/tools/anopesmtp