mirror of
https://github.com/Kbz-8/42_vox.git
synced 2026-01-11 14:43:34 +00:00
improving allocator
This commit is contained in:
4
Makefile
4
Makefile
@@ -16,6 +16,8 @@ LDFLAGS = -lSDL2 ScopEngine/Bin/engine.a
|
||||
DEBUG ?= false
|
||||
MODE = "release"
|
||||
|
||||
NZSLC = ./ScopEngine/Assets/Vendors/nzslc.x86_64
|
||||
|
||||
TPUT = tput -T xterm-256color
|
||||
_RESET := $(shell $(TPUT) sgr0)
|
||||
_BOLD := $(shell $(TPUT) bold)
|
||||
@@ -57,6 +59,8 @@ $(OBJ_DIR)/%.o: %.cpp
|
||||
all: $(NAME)
|
||||
|
||||
$(NAME): $(OBJ_DIR) $(BIN_DIR) engine $(OBJS)
|
||||
@printf "$(COLOR)($(_BOLD)100%%$(_RESET)$(COLOR)) $(_RESET)Compiling $(_BOLD)Resources/Fragment.nzsl$(_RESET)\n"
|
||||
@$(NZSLC) --compile=spv Resources/Fragment.nzsl -o Resources/ --optimize --module="ScopEngine/Assets/Shaders/Modules"
|
||||
@printf "Linking $(_BOLD)$(NAME)$(_RESET)\n"
|
||||
@$(CXX) -o $(BIN_DIR)/$(NAME) $(OBJS) $(LDFLAGS)
|
||||
@printf "$(_BOLD)$(NAME)$(_RESET) compiled $(COLOR)$(_BOLD)successfully$(_RESET)\n"
|
||||
|
||||
Reference in New Issue
Block a user