diff options
-rw-r--r-- | .Makefile.inc | 2 | ||||
-rwxr-xr-x | configure | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/.Makefile.inc b/.Makefile.inc index 4cd07e5d0..d4f8d4745 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -29,6 +29,8 @@ ircd: ${MAKE} -C src DIRNAME="src" $(MAKEARGS) bininst: + @-rm -f $(BINPATH)/*.so + @-rm -f $(BINPATH)/inspircd @-cp src/*.so $(LIBPATH) @-cp src/inspircd $(BINPATH) @-chmod 0700 $(BINPATH)/inspircd @@ -667,6 +667,7 @@ EOENT m_$i.so: m_$i.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/servers.h ../../include/base.h \$(CC) -pipe -I../../include \$(FLAGS) $flags -export-dynamic -c m_$i.cpp \$(CC) \$(FLAGS) -shared $flags -o m_$i.so m_$i.o + @-rm -f \$(MODPATH)/m_$i.so cp m_$i.so \$(MODPATH)/ chmod 0700 \$(MODPATH)/m_$i.so |