Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Implemented working parallel compilation support.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 10 Feb 2016 13:42:00 +0000 (13:42 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 10 Feb 2016 13:42:00 +0000 (13:42 +0000)
Typical time to compile XAB reduced from 7 minutes to 1 minute and 40
seconds on a i7-920 (make -j8).

source/Makefile.in

index 26ace7a..3b8e534 100644 (file)
@@ -2,6 +2,7 @@ CPP=g++
 STRIP=strip\r
 CPPFLAGS=`xml2-config --cflags` `wx-config --cxxflags` -std=c++11 @DBGOUT@\r
 CPPLIBS=`wx-config --libs` `curl-config --libs` -lsfml-audio -lxml2\r
+MAKE=make\r
 \r
 @DBGSTATUS@\r
 XAB_OUT=xestiaab\r
@@ -74,7 +75,11 @@ FORMOBJS=AppXestiaAddrBk.o frmAbout.o frmMain.o \
 WIDGETOBJS=widgets/XABAccountView.o widgets/XABContactMenu.o\r
 BMCOOBJS=tools/bitmapcode.o\r
 \r
-xestiaab: bitmaphelper actmgrobjs formobjs widgetobjs commonobjs vcardobjs \\r
+default:\r
+       $(MAKE) bitmaphelper\r
+       $(MAKE) xestiaab\r
+\r
+xestiaab: actmgrobjs formobjs widgetobjs commonobjs vcardobjs \\r
        carddavobjs ceobjs cdoobjs mainobjs searchobjs imexobjs \r
        $(CPP) $(CPPFLAGS) $(ACTMGROBJS) $(FORMOBJS) $(WIDGETOBJS) \\r
        $(COMMONOBJS) $(VCARDOBJS) $(CEOBJS) $(CDOOBJS) $(CARDDAVOBJS) \\r
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy