diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..998cde2 --- /dev/null +++ b/Makefile @@ -0,0 +1,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) |