diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-11-09 11:13:38 +0800 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-11-10 11:24:39 -0700 |
commit | 381cbc71923288ed189504b5b784c551f88a1010 (patch) | |
tree | 2af187e2722bcf94dd42c270ffec5cff99092e2f /progs/es1/screen/Makefile | |
parent | 4b9cc50345b5b10bb998ce5ce6f7cb37b72f354f (diff) |
progs/es1: Port egltri to OpenGL ES 1.1.
This demo requires EGL_MESA_screen_surface to run.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'progs/es1/screen/Makefile')
-rw-r--r-- | progs/es1/screen/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/progs/es1/screen/Makefile b/progs/es1/screen/Makefile new file mode 100644 index 0000000000..27be054d89 --- /dev/null +++ b/progs/es1/screen/Makefile @@ -0,0 +1,28 @@ +# progs/es1/screen/Makefile + +TOP = ../../.. +include $(TOP)/configs/current + +ES1_CFLAGS = -I$(TOP)/include +ES1_LIBS = -L$(TOP)/$(LIB_DIR) -lEGL -lGLESv1_CM + +ES1_LIB_DEPS = \ + $(TOP)/$(LIB_DIR)/libEGL.so \ + $(TOP)/$(LIB_DIR)/libGLESv1_CM.so + +WINSYS_OBJS = winsys.o + +PROGRAMS = \ + tri + +.c.o: + $(CC) -c $(ES1_CFLAGS) $(CFLAGS) $< -o $@ + +default: $(PROGRAMS) + +tri: tri.o $(WINSYS_OBJS) $(ES1_LIB_DEPS) + $(CC) $(CFLAGS) -o $@ $@.o $(WINSYS_OBJS) $(ES1_LIBS) + +clean: + -rm -f *.o *~ + -rm -f $(PROGRAMS) |