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 eec9109..4e2382d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CC := cc
+CC := clang
CFLAGS := -Wall -pedantic -pedantic-errors -std=c99
DLIBS := -lm $(shell pkg-config --libs glfw3 opengl glew)
INCLUDE := $(addprefix -I,./include)
@@ -25,7 +25,7 @@ build: $(OBJS)
${CC} $^ -o ${BIN} ${DLIBS}
run:
- ./${BIN}
+ ./${BIN} models/cessna.obj
install: build
install -Dm 644 ${VERTEX} -t ${SHADERS_DIR}
Feel free to download, copy and edit any repo