aboutsummaryrefslogtreecommitdiff
path: root/mesalib/windows/VC8/mesa/makefile
blob: e13883d833147bcc2fd7d7246432566bf20477ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SLNFILE=mesa.sln

all: Release\swrast_dri.dll Debug\swrast_dri.dll

ifneq $(which devenv.com),
VCSTUDIO_DBG=devenv.com $(SLNFILE) /build Debug
VCSTUDIO_REL=devenv.com $(SLNFILE) /build Release
endif
ifneq $(which vcbuild.exe),
VCSTUDIO_DBG=vcbuild $(SLNFILE) "Debug|Win32"
VCSTUDIO_REL=vcbuild $(SLNFILE) "Release|Win32"
endif

ifndef VCSTUDIO_DBG
$(error Environment not set correctly for building Visual Studio projects)
endif

Debug\swrast_dri.dll:
	$(VCSTUDIO_DBG) 

Release\swrast_dri.dll:
	$(VCSTUDIO_REL) 

clean: cleanthis

cleanthis:
	del -e Debug
	del -e Release