CFLAGS=-std=c11 -fopenmp -W -Wall -pedantic -g
APP=compute-test
LIBS=-fopenmp -lSDL2 -lGLEW -lGL -lcrypto
OBJS=main.o

.PHONY=all clean test debug

all: $(APP)

$(APP): $(OBJS)
	$(CC) -o $(APP) $(OBJS) $(LIBS)

clean:
	$(RM) $(OBJS) $(APP)

test: $(APP)
	./$(APP)

debug: $(APP)
	INTEL_DEBUG=cs ./$(APP)