aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 9150d16eb4b5efed8852d1692c0bc1cb8cabe307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
EXE = pointoverdrawbench
OBJS = \
       main.o positiongen.o solid.o stats.o \
       shaderloader/shaderloader.o \
       debuggl/debuggl.o
CFLAGS = -std=c99 -I../../../extra
LDLIBS = -lGL -lGLEW -lglut -lm

.PHONY: all clean

all: $(EXE)

clean:
	-rm -f $(OBJS) $(EXE)

$(EXE): $(OBJS)
	$(CC) $(LDFLAGS) -o $(EXE) $(OBJS) $(LOADLIBES) $(LDLIBS)