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

.PHONY=all clean test

all: $(APP)

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

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

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