blob: b299bdda199e3ff411f4da152b3796c1625c0b7f [file] [log] [blame] [edit]
CROSS_COMPILE ?=
CC = $(CROSS_COMPILE)gcc
all: clexample
%.o : %.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
clexample: clexample.o
$(CC) -L /usr/lib/vivante -o $@ clexample.o -lOpenCL
clean:
rm -f clexample *.o
.PHONY: all clean