summaryrefslogtreecommitdiff
path: root/Makefile
blob: cc3adc033727a38d673107dd522a78771210fe7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)