summaryrefslogtreecommitdiff
path: root/.Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to '.Makefile.inc')
-rw-r--r--.Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index e11f7343c..c6b77f53f 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -145,6 +145,10 @@ install: all
@-cp conf/cert.pem $(CONPATH)
@-cp docs/inspircd.conf.example $(CONPATH)
${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) modinst
+ ${MAKE} modinstall
+
+modinstall: mods
+ ${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) modinst
@echo ""
@echo "*************************************"
@echo "* INSTALL COMPLETE! *"
@@ -155,6 +159,9 @@ install: all
@echo "* REMEMBER TO EDIT YOUR CONFIG FILE *"
@echo "*************************************"
+module:
+ ${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) ${name}
+
clean:
@echo Cleaning...
@rm -rvf src/*.so src/*.o src/inspircd src/modules/*.so src/modules/*.o *~ src/*~ src/modules/*~ src/modules/extra/*~ src/modes/*~ src/modes/*.o src/modes/*.a src/modules/*/*.o src/modules/*/*.so