From: brain Date: Fri, 27 Oct 2006 14:08:52 +0000 (+0000) Subject: Smart trick: the 'build complete' message is now a makefile section of its own which... X-Git-Tag: v2.0.23~6819 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=2579e83d3d03f3360974c014623c39b523fef95c;p=user%2Fhenk%2Fcode%2Finspircd.git Smart trick: the 'build complete' message is now a makefile section of its own which depends on 'ircd' and 'mods', so when using -j, the rest of the processes will wait to complete before displaying the message ;) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5554 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/.Makefile.inc b/.Makefile.inc index 829da54cc..1ca79206e 100644 --- a/.Makefile.inc +++ b/.Makefile.inc @@ -21,11 +21,15 @@ MODULES = @MODULES@ STATICLIBS = @STATICLIBS@ MAKEARGS = 'PROGS=${PROGS}' 'FLAGS=${FLAGS}' 'CC=${CC}' 'LDLIBS=${LDLIBS}' 'MODULES=${MODULES}' 'MODPATH=${MODPATH}' 'LIBPATH=${LIBPATH}' 'STATICLIBS=${STATICLIBS}' -all : @MAKEORDER@ +all : @MAKEORDER@ finishmessage mods: @echo "Making modules..." ${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) + +# Make this depend on 'ircd' and 'mods', so its always output last even with -j +finishmessage: ircd mods + @echo "" @echo "*************************************" @echo "* BUILD COMPLETE! *" @echo "* To install InspIRCd, type: *" @@ -127,6 +131,7 @@ install: all @-cp conf/cert.pem $(CONPATH) @-cp docs/inspircd.conf.example $(CONPATH) ${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) modinst + @echo "" @echo "*************************************" @echo "* INSTALL COMPLETE! *" @echo "* It is safe to ignore any messages *"