From 4bbfedd35345915cef586c44683d459653c4315e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 13 Dec 2013 16:34:26 -0800 Subject: Ensure that all .obj wait for the PCH to finish Otherwise, you get compilation errors like: c:\Qt\qt5\qtbase\src\corelib\global\qlogging.cpp : fatal error C1083: Cannot open precompiled header file: 'configure_pch.pch': Permission denied Change-Id: I56401ce7f6aff32e97617c3b4fd5fe06fbeebf58 Reviewed-by: Oswald Buddenhagen --- tools/configure/Makefile.win32 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/configure') diff --git a/tools/configure/Makefile.win32 b/tools/configure/Makefile.win32 index 17c2d1089c..6b922e6693 100644 --- a/tools/configure/Makefile.win32 +++ b/tools/configure/Makefile.win32 @@ -84,6 +84,8 @@ clean: $(PCH): $(CONFSRC)\configure_pch.h $(CXX) -c -Yc $(CXXFLAGS_BARE) -Fp$@ -Foconfigure_pch.obj -TP $** +$(OBJECTS): $(PCH) + main.obj: $(CONFSRC)\main.cpp $(CONFSRC)\configureapp.h $(PCH) configureapp.obj: $(CONFSRC)\configureapp.cpp $(CONFSRC)\configureapp.h $(CONFSRC)\environment.h $(CONFSRC)\tools.h $(PCH) environment.obj: $(CONFSRC)\environment.cpp $(CONFSRC)\environment.h $(PCH) -- cgit v1.2.3