aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4e2382d..99a2459 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ DLIBS := -lm $(shell pkg-config --libs glfw3 opengl glew)
INCLUDE := $(addprefix -I,./include)
OBJDIR = objs
SRCDIR = src
-OBJS = $(addprefix objs/,main.o shader.o linear.o obj.o)
+OBJS = $(addprefix objs/,main.o shader.o linear.o obj.o camera.o)
BIN = mverse
SHADERS_DIR = /usr/share/${BIN}
@@ -24,7 +24,7 @@ $(OBJDIR)/%.o: $(SRCDIR)/%.c
build: $(OBJS)
${CC} $^ -o ${BIN} ${DLIBS}
-run:
+run: build
./${BIN} models/cessna.obj
install: build
Feel free to download, copy and edit any repo