summaryrefslogtreecommitdiff
path: root/.Makefile.inc
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-03 22:26:25 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-03 22:26:25 +0000
commit5f30e68a76f0b4e71884675adb59c931bdb19fb8 (patch)
treeb8d193c376d4cca79fc1319bea3db7a35a313e2f /.Makefile.inc
parentf82f00034a60281cc63b2fecec15f87084af2a68 (diff)
Fixed FreeBSD bugs.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@369 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to '.Makefile.inc')
-rw-r--r--.Makefile.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index 6899d35d8..83ea71fcf 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -10,6 +10,7 @@ echo "# Small modifications by <brain@ChatSpike.net>" >> Makefile
echo "#" >>Makefile
echo ""
echo "CC = g++" >> Makefile
+echo "MAKE = $MAKEPROG" >> Makefile
echo "PROGS = inspircd" >> Makefile
echo "FLAGS = $FLAGS" >> Makefile
echo "LDLIBS = $LDLIBS" >> Makefile
@@ -22,11 +23,11 @@ echo "" >> Makefile
echo "all : ircd mods config" >> Makefile
echo "" >> Makefile
echo "mods:" >> Makefile
-echo " make -C src/modules DIRNAME="src/modules" \$(MAKEARGS)" >> Makefile
+echo " \${MAKE} -C src/modules DIRNAME="src/modules" \$(MAKEARGS)" >> Makefile
echo " mv src/modules/*.so \$(MODPATH)" >> Makefile
echo "" >> Makefile
echo "ircd:" >> Makefile
-echo " make -C src DIRNAME="src" \$(MAKEARGS)" >> Makefile
+echo " \${MAKE} -C src DIRNAME="src" \$(MAKEARGS)" >> Makefile
echo " cp src/inspircd \$(BINPATH)" >> Makefile
echo "" >> Makefile
echo "config:" >> Makefile