summaryrefslogtreecommitdiff
path: root/es_1_1/makefile-static
diff options
context:
space:
mode:
Diffstat (limited to 'es_1_1/makefile-static')
-rwxr-xr-xes_1_1/makefile-static70
1 files changed, 70 insertions, 0 deletions
diff --git a/es_1_1/makefile-static b/es_1_1/makefile-static
new file mode 100755
index 0000000..86a5bf9
--- /dev/null
+++ b/es_1_1/makefile-static
@@ -0,0 +1,70 @@
+#!/bin/make
+
+CFLAGS = -I. -I../include -Werror-implicit-function-declaration -O0 -g3
+ARFLAGS = rucv
+
+CFLAGS += -DPROVIDING_OES_fixed_point # core: always on
+CFLAGS += -DPROVIDING_OES_point_size_array # required: OES_point_sprite required
+CFLAGS += -DPROVIDING_OES_point_sprite # required:
+CFLAGS += -DPROVIDING_OES_query_matrix # OES_fixed_point is required
+
+LIB = libGLESv1_CM.a
+
+END =
+SRCS = \
+ 25Error.c \
+ 25enable.c \
+ 27state.c \
+ 28array.c \
+ 29buffer.c \
+ 2Axform.c \
+ 2Bclip.c \
+ 2Ccolor.c \
+ 2PdrawArray.c \
+ 2QdrawElements.c \
+ 33point.c \
+ 34line.c \
+ 35polygon.c \
+ 36pixel.c \
+ 37texture.c \
+ 38fog.c \
+ 3Btexpal.c \
+ 41frag.c \
+ 42frame.c \
+ 43read.c \
+ 50flush.c \
+ 60get.c \
+ 80ext.c \
+ gl_real.c \
+ gl_context.c \
+ EGLImage.c \
+ $(END)
+OBJS = $(SRCS:.c=.o)
+
+
+default: __touch__ $(LIB)
+
+
+__touch__:
+ touch 60get.c
+
+$(LIB): $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+install: $(LIB)
+ cp $(LIB) ../lib
+
+# supports
+
+clean:
+ $(RM) $(RMFLAGS) $(OBJS)
+
+clobber: clean
+ $(RM) $(RMFLAGS) $(LIB) core a.out
+
+wc:
+ wc $(SRCS) *.inl *.h
+
+$(OBJS): GLES/gl.h gl_imp.h gl_context.h
+
+60get.c: 6ZgetCore.inl