Makefile
291 Bytes
CFLAGS += -O0 -Werror -ggdb -std=c99
LIBS += -lOpenCL
CC = cc
BINARIES = part1 part2 part3 part4 part5 part6 part8 createclbin part6bin
all: $(BINARIES)
%: %.c
$(CC) $(CFLAGS) $(LIBS) -o $@ $<
part4.clbin: createclbin
createclbin
.PHONY: clean
clean:
@rm -f $(BINARIES) part4.clbin