diff options
author | Chia-I Wu <[email protected]> | 2010-04-01 13:43:33 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-04-01 22:25:48 +0800 |
commit | 7f231cab2b7c13ba70d6aa694f74b6d6eee6470f (patch) | |
tree | 49bbe7b55bc1f809acd6525afa834bda0c074fa3 /progs/egl/opengles1/screen/Makefile | |
parent | c727ef01083c873abfaf3c79b28d7cbcd6361bf3 (diff) |
progs/es: Move OpenGL ES demos to subdirectories of progs/egl.
Move
progs/es1/xegl -> progs/egl/opengles1,
progs/es1/screen -> progs/egl/opengles1/screen,
progs/es2/xegl -> progs/egl/opengles2.
Diffstat (limited to 'progs/egl/opengles1/screen/Makefile')
-rw-r--r-- | progs/egl/opengles1/screen/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/progs/egl/opengles1/screen/Makefile b/progs/egl/opengles1/screen/Makefile new file mode 100644 index 00000000000..5b2a59c71ca --- /dev/null +++ b/progs/egl/opengles1/screen/Makefile @@ -0,0 +1,32 @@ +# progs/egl/opengles1/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 = \ + gears \ + tri + +.c.o: + $(CC) -c $(ES1_CFLAGS) $(CFLAGS) $< -o $@ + +default: $(PROGRAMS) + +gears: gears.o $(WINSYS_OBJS) $(ES1_LIB_DEPS) + $(CC) $(CFLAGS) -o $@ [email protected] $(WINSYS_OBJS) $(ES1_LIBS) + +tri: tri.o $(WINSYS_OBJS) $(ES1_LIB_DEPS) + $(CC) $(CFLAGS) -o $@ [email protected] $(WINSYS_OBJS) $(ES1_LIBS) + +clean: + -rm -f *.o *~ + -rm -f $(PROGRAMS) |