-rw-r--r-- | qmake/Makefile | 7 |
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,20 +1,27 @@ | |||
1 | QMAKESPECSDIR=$(OPIEDIR)/mkspecs | 1 | QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
2 | 2 | ||
3 | include ../.config | ||
4 | |||
5 | ifeq ($(strip $(CONFIG_USE_CCACHE)),y) | ||
3 | CC = $(shell which ccache) gcc | 6 | CC = $(shell which ccache) gcc |
4 | CXX = $(shell which ccache) g++ | 7 | CXX = $(shell which ccache) g++ |
8 | else | ||
9 | CC = gcc | ||
10 | CXX = g++ | ||
11 | endif | ||
5 | 12 | ||
6 | #qmake code | 13 | #qmake code |
7 | OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o \ | 14 | OBJS=project.o property.o main.o makefile.o unixmake2.o unixmake.o msvc_nmake.o \ |
8 | borland_bmake.o mingw_make.o msvc_dsp.o msvc_vcproj.o option.o \ | 15 | borland_bmake.o mingw_make.o msvc_dsp.o msvc_vcproj.o option.o \ |
9 | winmakefile.o projectgenerator.o metrowerks_xml.o pbuilder_pbx.o \ | 16 | winmakefile.o projectgenerator.o metrowerks_xml.o pbuilder_pbx.o \ |
10 | msvc_objectmodel.o meta.o qtmd5.o | 17 | msvc_objectmodel.o meta.o qtmd5.o |
11 | 18 | ||
12 | #qt code | 19 | #qt code |
13 | QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ | 20 | QOBJS=qstring.o qtextstream.o qiodevice.o qglobal.o qgdict.o qcstring.o \ |
14 | qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \ | 21 | qdatastream.o qgarray.o qbuffer.o qglist.o qptrcollection.o qfile.o \ |
15 | qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o \ | 22 | qfile_unix.o qregexp.o qgvector.o qgcache.o qbitarray.o qdir.o quuid.o \ |
16 | qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \ | 23 | qfileinfo_unix.o qdir_unix.o qfileinfo.o qdatetime.o qstringlist.o qmap.o \ |
17 | qconfig.o qunicodetables.o qsettings.o qlocale.o | 24 | qconfig.o qunicodetables.o qsettings.o qlocale.o |
18 | 25 | ||
19 | #all sources, used for the depend target | 26 | #all sources, used for the depend target |
20 | DEPEND_SRC=project.cpp property.cpp meta.cpp main.cpp qtmd5.cpp generators/makefile.cpp generators/unix/unixmake2.cpp \ | 27 | DEPEND_SRC=project.cpp property.cpp meta.cpp main.cpp qtmd5.cpp generators/makefile.cpp generators/unix/unixmake2.cpp \ |