commit a5926cc763fd6c5c61347eddc0839f3c13f802ff parent bab548a362607be12d266adb2a090e6ed4e20316 Author: William Casarin <bill@casarin.me> Date: Sat, 28 Mar 2015 14:11:36 -0700 mv src to src Diffstat:
M | Makefile | | | 17 | +++++++++-------- |
R | buffer.cc -> src/buffer.cc | | | 0 | |
R | buffer.h -> src/buffer.h | | | 0 | |
R | common.h -> src/common.h | | | 0 | |
R | debug.cc -> src/debug.cc | | | 0 | |
R | debug.h -> src/debug.h | | | 0 | |
R | delaunay.cc -> src/delaunay.cc | | | 0 | |
R | file.cc -> src/file.cc | | | 0 | |
R | file.h -> src/file.h | | | 0 | |
R | gl.h -> src/gl.h | | | 0 | |
R | main.cc -> src/main.cc | | | 0 | |
R | render.cc -> src/render.cc | | | 0 | |
R | render.h -> src/render.h | | | 0 | |
R | shader.cc -> src/shader.cc | | | 0 | |
R | shader.h -> src/shader.h | | | 0 | |
R | window.cc -> src/window.cc | | | 0 | |
R | window.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