aboutsummaryrefslogtreecommitdiff
path: root/mesalib/windows/VC8/mesa/makefile
blob: fefdf3d5c207d5bfb89f0a5ae1d4ee07a8599684 (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
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