CFLAGS += -O2 -march=native -std=c99 -I/usr/local/include
LIBS += -lcl -L/usr/local/lib64/beignet
CC = cc
BINARIES = part1 part2 part3 part4 part5 part6 part8
all: $(BINARIES)
%: %.c
$(CC) $(CFLAGS) $(LIBS) -o $@ $<
strip $@
.PHONY: clean
clean:
rm $(BINARIES)