diff options
-rw-r--r-- | mesalib/windows/VC8/mesa/makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/mesalib/windows/VC8/mesa/makefile b/mesalib/windows/VC8/mesa/makefile new file mode 100644 index 000000000..fefdf3d5c --- /dev/null +++ b/mesalib/windows/VC8/mesa/makefile @@ -0,0 +1,26 @@ +SLNFILE=mesa.sln
+
+all: Release\swrast_dri.dll Debug\swrast_dri.dll
+
+ifneq $(which devenv.com),
+VCSTUDIO=devenv.com
+endif
+ifneq $(which vcexpress.exe),
+VCSTUDIO=vcexpress
+endif
+
+ifndef VCSTUDIO
+$(error Environment not set correctly for building Visual Studio projects)
+endif
+
+Debug\swrast_dri.dll:
+ $(VCSTUDIO) $(SLNFILE) /build Debug
+
+Release\swrast_dri.dll:
+ $(VCSTUDIO) $(SLNFILE) /build Release
+
+clean: cleanthis
+
+cleanthis:
+ del -e Debug
+ del -e Release
|