diff options
Diffstat (limited to 'progs/openvg/demos/Makefile')
-rw-r--r-- | progs/openvg/demos/Makefile | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/progs/openvg/demos/Makefile b/progs/openvg/demos/Makefile index 7ecb987f9d1..6e15342c7ff 100644 --- a/progs/openvg/demos/Makefile +++ b/progs/openvg/demos/Makefile @@ -7,8 +7,8 @@ VG_LIBS=-lm -pthread -lEGL -lOpenVG INCLUDE_DIRS = -I$(TOP)/include PROGRAMS = \ - gears \ - lion + lion \ + sp .c.o: $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ @@ -17,14 +17,6 @@ PROGRAMS = \ default: $(PROGRAMS) - -gears: gears.o - $(CC) $(CFLAGS) gears.o -L$(TOP)/$(LIB_DIR) $(VG_LIBS) -o $@ - -gears.o: gears.c $(HEADERS) - $(CC) -c $(CFLAGS) -I$(TOP)/include gears.c - - lion: lion.o lion-render.o $(CC) $(CFLAGS) lion.o lion-render.o -L$(TOP)/$(LIB_DIR) $(VG_LIBS) -o $@ @@ -34,6 +26,13 @@ lion-render.o: lion-render.c lion-render.h $(HEADERS) $(CC) -c $(CFLAGS) -I$(TOP)/include lion-render.c +sp: sp.c eglcommon.o + $(CC) $(INCLUDE_DIRS) $(CFLAGS) $^ -L$(TOP)/$(LIB_DIR) $(LIBS) $(VG_LIBS) $(APP_LIB_DEPS) -o $@ + +eglcommon.o: eglcommon.c $(HEADERS) + $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) eglcommon.c + + clean: rm -f *.o *~ rm -f *.so |