summaryrefslogtreecommitdiff
path: root/Makefile
blob: 998cde231b493877d69815097217eb03a4306f14 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/make

default:
	(rm -rf ./lib/host-gl)
	(mkdir -p ./lib/host-gl)
	(cd egl_1_4; make)
	(cd es_1_1; make)
	(cd es_2_0; make)
	(cd libGL; make install)

all: default

install:
	(mkdir -p ./lib/host-gl)
	(cd egl_1_4; make -f makefile-dynamic install)
	(cd es_1_1; make -f makefile-static install)
	(cd es_1_1; make -f makefile-dynamic install)
	(cd es_2_0; make -f makefile-static install)
	(cd es_2_0; make -f makefile-dynamic install)
	(cd libGL; make install)

clean:
	(rm -rf ./lib/host-gl)
	(cd egl_1_4; make clean)
	(cd es_1_1; make -f makefile-static clean)
	(cd es_1_1; make -f makefile-dynamic clean)
	(cd es_2_0; make -f makefile-static clean)
	(cd es_2_0; make -f makefile-dynamic clean)
	(cd libGL; make clean)

clobber:
	(mkdir -p ./lib/host-gl)
	(cd egl_1_4; make clobber)
	(cd es_1_1; make -f makefile-static clobber)
	(cd es_1_1; make -f makefile-dynamic clobber)
	(cd es_2_0; make -f makefile-static clobber)
	(cd es_2_0; make -f makefile-dynamic clobber)

wc:
	(cd egl_1_4; make wc)
	(cd es_1_1; make -f makefile-dynamic wc)
	(cd es_2_0; make -f makefile-dynamic wc)