Added model loading
Model loading is complex. As such in the learnopengl.com tutorial we use assimp to make our life a little easier.
This commit is contained in:
6
Makefile
6
Makefile
@ -1,6 +1,6 @@
|
||||
CC = g++
|
||||
CFLAGS = -std=c++17 -O2
|
||||
LDFLAGS = -lglfw3 -lGL -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
|
||||
CFLAGS = -std=c++17 -O2 -g
|
||||
LDFLAGS = -lglfw3 -lGL -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi -lz -lassimp
|
||||
OUT_NAME = LearnOpenGL
|
||||
|
||||
build: src/*.cpp src/*.h
|
||||
@ -9,4 +9,4 @@ build: src/*.cpp src/*.h
|
||||
|
||||
|
||||
run: build build/$(OUT_NAME)
|
||||
./build/$(OUT_NAME)
|
||||
./build/$(OUT_NAME)
|
||||
|
Reference in New Issue
Block a user