Enable parallel build for release target in Makefile for improved build performance

This commit is contained in:
whaffman 2025-09-21 00:11:56 +02:00
parent f066f46021
commit 6e9725bb53

View File

@ -15,7 +15,7 @@ $(BUILD_DIR):
# Build targets with specific build types
release: $(BUILD_DIR)
$(CMAKE) -B $(BUILD_DIR) $(CMAKE_FLAGS) -DCMAKE_BUILD_TYPE=Release
$(CMAKE_BUILD) $(BUILD_DIR) --target webserv
$(CMAKE_BUILD) $(BUILD_DIR) --target webserv --parallel
debug: $(BUILD_DIR)
$(CMAKE) -B $(BUILD_DIR) $(CMAKE_FLAGS) -DCMAKE_BUILD_TYPE=Debug