include ../makeinclude

PROGS = test1

all: $(PROGS)

clean:
	rm -f core *.o *~ $(PROGS)

test1: main.o start.o
	$(LD) --entry=_start --dynamic-linker /system/bin/linker -nostdlib -rpath /system/lib -rpath $(LIBS) -L $(LIBS) -lm -lc -lui -lGLESv1_CM $^ -o ../$@ 

.c.o:
	$(CC)	$(CFLAGS) -I $(GLES_INCLUDES) -c $*.c
