Added LOG_LEVEL
This commit is contained in:
parent
464ad7db2d
commit
79c0a7393a
@ -1,17 +1,21 @@
|
||||
CXX = /usr/bin/g++
|
||||
CXXFLAGS = -std=c++20 -MMD -MP -Wextra #-include pch.hpp #-O3: optimierungsstufe 3, -MMD .d files, -MP leeres Target, Wextra alle Warnungen
|
||||
LDFLAGS = -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi -lgzutil -lfreetype
|
||||
IFLAGS =
|
||||
|
||||
SRCDIRS = $(wildcard */)
|
||||
IFLAGS = $(foreach dir,$(SRCDIRS), -I$(dir))
|
||||
IFLAGS += $(foreach dir,$(SRCDIRS), -I$(dir))
|
||||
IFLAGS += $(foreach dir,$(SRCDIRS), -I../$(dir))
|
||||
IFLAGS += -I../ -I./
|
||||
IFLAGS += -I/usr/include/freetype2
|
||||
CXXFLAGS += $(IFLAGS)
|
||||
|
||||
|
||||
# SETTINGS
|
||||
OBJECT_DIR = ../build
|
||||
EXEC = ../vulkan_test
|
||||
LOG_LEVEL = LOG_LEVEL_2
|
||||
|
||||
CXXFLAGS += -D $(LOG_LEVEL)
|
||||
|
||||
SRC = $(wildcard *.cpp) $(wildcard */*.cpp)
|
||||
# OBJECTS = $(SRC:%.cpp=$(OBJECT_DIR)/%.o)
|
||||
|
Loading…
Reference in New Issue
Block a user