aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 3bb3d56c4ae3cc7affbf17606844798bf8ff4c7f (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
LDLIBS = -lGL -lGLEW -lglut -lm

.PHONY: all clean

all: $(EXE)

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

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