summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7ef6f8da5c6e68cacc0beb0aa1dd2815d5a23dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS=-std=c11 -fopenmp -W -Wall -pedantic -O2
APP=compute-test
LIBS=-fopenmp -lSDL2 -lGLEW -lGL -lcrypto
OBJS=main.o

.PHONY=all clean test

all: $(APP)

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

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

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