polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

commit a5926cc763fd6c5c61347eddc0839f3c13f802ff
parent bab548a362607be12d266adb2a090e6ed4e20316
Author: William Casarin <bill@casarin.me>
Date:   Sat, 28 Mar 2015 14:11:36 -0700

mv src to src

Diffstat:
MMakefile | 17+++++++++--------
Rbuffer.cc -> src/buffer.cc | 0
Rbuffer.h -> src/buffer.h | 0
Rcommon.h -> src/common.h | 0
Rdebug.cc -> src/debug.cc | 0
Rdebug.h -> src/debug.h | 0
Rdelaunay.cc -> src/delaunay.cc | 0
Rfile.cc -> src/file.cc | 0
Rfile.h -> src/file.h | 0
Rgl.h -> src/gl.h | 0
Rmain.cc -> src/main.cc | 0
Rrender.cc -> src/render.cc | 0
Rrender.h -> src/render.h | 0
Rshader.cc -> src/shader.cc | 0
Rshader.h -> src/shader.h | 0
Rwindow.cc -> src/window.cc | 0
Rwindow.h -> src/window.h | 0
17 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile @@ -3,14 +3,15 @@ BIN ?= polyadvent PREFIX ?= /usr/local LDFLAGS = -lglfw3 -lX11 -lGL -lXi -lXrandr -lXxf86vm -lepoxy DEFS= -DGLFW_INCLUDE_NONE - -OBJS = main.o -OBJS += window.o -OBJS += buffer.o -OBJS += shader.o -OBJS += file.o -OBJS += debug.o -OBJS += render.o +SRC=src + +OBJS = ${SRC}/main.o +OBJS += ${SRC}/window.o +OBJS += ${SRC}/buffer.o +OBJS += ${SRC}/shader.o +OBJS += ${SRC}/file.o +OBJS += ${SRC}/debug.o +OBJS += ${SRC}/render.o all: $(BIN) diff --git a/buffer.cc b/src/buffer.cc diff --git a/buffer.h b/src/buffer.h diff --git a/common.h b/src/common.h diff --git a/debug.cc b/src/debug.cc diff --git a/debug.h b/src/debug.h diff --git a/delaunay.cc b/src/delaunay.cc diff --git a/file.cc b/src/file.cc diff --git a/file.h b/src/file.h diff --git a/gl.h b/src/gl.h diff --git a/main.cc b/src/main.cc diff --git a/render.cc b/src/render.cc diff --git a/render.h b/src/render.h diff --git a/shader.cc b/src/shader.cc diff --git a/shader.h b/src/shader.h diff --git a/window.cc b/src/window.cc diff --git a/window.h b/src/window.h