SRC=src BUILD=build CFLAGS=-Wall -g .PHONY: all all: mkdir -p $(BUILD) gcc -lOpenCL $(CFLAGS) -o $(BUILD)/cltest $(SRC)/cltest.c $(SRC)/clm.c .PHONY: run run: all $(BUILD)/cltest