From: Steve Brokenshire Date: Wed, 10 Feb 2016 13:42:00 +0000 (+0000) Subject: Implemented working parallel compilation support. X-Git-Tag: release-0.09~13 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=8b563f1f8f77228a68a58a8d2ef9aeab32d606a5 Implemented working parallel compilation support. Typical time to compile XAB reduced from 7 minutes to 1 minute and 40 seconds on a i7-920 (make -j8). --- diff --git a/source/Makefile.in b/source/Makefile.in index 26ace7a..3b8e534 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -2,6 +2,7 @@ CPP=g++ STRIP=strip CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 @DBGOUT@ CPPLIBS=`wx-config --libs` `curl-config --libs` -lsfml-audio -lxml2 +MAKE=make @DBGSTATUS@ XAB_OUT=xestiaab @@ -74,7 +75,11 @@ FORMOBJS=AppXestiaAddrBk.o frmAbout.o frmMain.o \ WIDGETOBJS=widgets/XABAccountView.o widgets/XABContactMenu.o BMCOOBJS=tools/bitmapcode.o -xestiaab: bitmaphelper actmgrobjs formobjs widgetobjs commonobjs vcardobjs \ +default: + $(MAKE) bitmaphelper + $(MAKE) xestiaab + +xestiaab: actmgrobjs formobjs widgetobjs commonobjs vcardobjs \ carddavobjs ceobjs cdoobjs mainobjs searchobjs imexobjs $(CPP) $(CPPFLAGS) $(ACTMGROBJS) $(FORMOBJS) $(WIDGETOBJS) \ $(COMMONOBJS) $(VCARDOBJS) $(CEOBJS) $(CDOOBJS) $(CARDDAVOBJS) \