aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2016-04-24 23:52:45 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2016-04-24 23:52:45 +0200
commit2ca04fbe7985ee944f3fa6302886a252a51add0c (patch)
treeb373879928a1060e564d29d44f6e20b620b272e9 /Makefile
downloadpointoverdrawbench-2ca04fbe7985ee944f3fa6302886a252a51add0c.tar.gz
pointoverdrawbench-2ca04fbe7985ee944f3fa6302886a252a51add0c.tar.bz2
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..9150d16
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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)