From 8b563f1f8f77228a68a58a8d2ef9aeab32d606a5 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 10 Feb 2016 13:42:00 +0000 Subject: [PATCH] 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). --- source/Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) \ -- 2.39.5