aboutsummaryrefslogtreecommitdiff
path: root/mesalib/windows/VC8
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/windows/VC8')
-rw-r--r--mesalib/windows/VC8/mesa/makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/mesalib/windows/VC8/mesa/makefile b/mesalib/windows/VC8/mesa/makefile
index fefdf3d5c..e13883d83 100644
--- a/mesalib/windows/VC8/mesa/makefile
+++ b/mesalib/windows/VC8/mesa/makefile
@@ -3,21 +3,23 @@ SLNFILE=mesa.sln
all: Release\swrast_dri.dll Debug\swrast_dri.dll
ifneq $(which devenv.com),
-VCSTUDIO=devenv.com
+VCSTUDIO_DBG=devenv.com $(SLNFILE) /build Debug
+VCSTUDIO_REL=devenv.com $(SLNFILE) /build Release
endif
-ifneq $(which vcexpress.exe),
-VCSTUDIO=vcexpress
+ifneq $(which vcbuild.exe),
+VCSTUDIO_DBG=vcbuild $(SLNFILE) "Debug|Win32"
+VCSTUDIO_REL=vcbuild $(SLNFILE) "Release|Win32"
endif
-ifndef VCSTUDIO
+ifndef VCSTUDIO_DBG
$(error Environment not set correctly for building Visual Studio projects)
endif
Debug\swrast_dri.dll:
- $(VCSTUDIO) $(SLNFILE) /build Debug
+ $(VCSTUDIO_DBG)
Release\swrast_dri.dll:
- $(VCSTUDIO) $(SLNFILE) /build Release
+ $(VCSTUDIO_REL)
clean: cleanthis