summaryrefslogtreecommitdiff
path: root/qmake/Makefile
Side-by-side diff
Diffstat (limited to 'qmake/Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/qmake/Makefile b/qmake/Makefile
index 3045766..1054da4 100644
--- a/qmake/Makefile
+++ b/qmake/Makefile
@@ -1,16 +1,23 @@
QMAKESPECSDIR=$(OPIEDIR)/mkspecs
+include ../.config
+
+ifeq ($(strip $(CONFIG_USE_CCACHE)),y)
CC = $(shell which ccache) gcc
CXX = $(shell which ccache) g++
+else
+CC = gcc
+CXX = g++
+endif
#qmake code
OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o \
borland_bmake.o mingw_make.o msvc_dsp.o msvc_vcproj.o option.o \
winmakefile.o projectgenerator.o metrowerks_xml.o pbuilder_pbx.o \
msvc_objectmodel.o meta.o qtmd5.o
#qt code
QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \
qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \
qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o \
qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \