aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjvech <jmvalenciae@unal.edu.co>2023-06-29 08:22:31 -0500
committerjvech <jmvalenciae@unal.edu.co>2023-06-29 08:22:31 -0500
commit4ffb872e48a0e9eada805c6b8f7567319b7e3f53 (patch)
treea5c6fdb494617fc144f20dc7b510e8f3e803587f /Makefile
parent756490a02d84288ee635a8aa33811e043ca10b44 (diff)
add: camera module implementedHEADmaster
now the camera has its oown properties and functions It should ease its management
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