~ | First triangle

This commit is contained in:
TheRedShip
2024-10-14 01:43:29 +02:00
parent d8fd3d0535
commit eae1ae4790
5 changed files with 57 additions and 33 deletions

View File

@ -30,7 +30,7 @@ SRCS_DIR := srcs
OBJS_DIR := .objs
ALL_SRCS := RT.cpp gl.cpp \
Window.cpp
Window.cpp Shader.cpp \
SRCS := $(ALL_SRCS:%=$(SRCS_DIR)/%)
@ -38,7 +38,7 @@ SRCS := $(ALL_SRCS:%=$(SRCS_DIR)/%)
OBJS := $(addprefix $(OBJS_DIR)/, $(SRCS:%.cpp=%.o))
CC := g++
CC := g++ -Wextra -Wall -Werror
IFLAGS := -Ofast -I./includes -L./lib -lglfw3 -lopengl32 -lgdi32 -lcglm