diff options
Diffstat (limited to 'mesalib/windows/VC8/mesa/makefile')
-rw-r--r-- | mesalib/windows/VC8/mesa/makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mesalib/windows/VC8/mesa/makefile b/mesalib/windows/VC8/mesa/makefile index 34265e497..88c87d90f 100644 --- a/mesalib/windows/VC8/mesa/makefile +++ b/mesalib/windows/VC8/mesa/makefile @@ -1,12 +1,19 @@ -SLNFILE=mesa.sln
+ifdef VS2010
+MHMAKESLNFILE=mesavc10.sln
+BUILDCMD=devenv.com $(MHMAKESLNFILE) /build
+else
+MHMAKESLNFILE=mesa.sln
+BUILDCMD=vcbuild $(MHMAKESLNFILE)
+endif
+SLNFILE=
all: Release\swrast_dri.dll Debug\swrast_dri.dll
Debug\swrast_dri.dll:
- vcbuild $(SLNFILE) "Debug|Win32"
+ $(BUILDCMD) "Debug|Win32"
Release\swrast_dri.dll:
- vcbuild $(SLNFILE) "Release|Win32"
+ $(BUILDCMD) "Release|Win32"
clean: cleanthis
|