diff --git a/Makefile b/Makefile index 44c7f76..dc3d30f 100644 --- a/Makefile +++ b/Makefile @@ -39,12 +39,12 @@ release: $(BUILD_DIR) debug: $(BUILD_DIR) $(CMAKE) -B $(BUILD_DIR) $(CMAKE_FLAGS) -DCMAKE_BUILD_TYPE=Debug - $(CMAKE_BUILD) $(BUILD_DIR) --target webserv + $(CMAKE_BUILD) $(BUILD_DIR) --target webserv --parallel @echo "$(CURRENT_ENV)" > $(BUILD_DIR)/.build-env asan: $(BUILD_DIR) $(CMAKE) -B $(BUILD_DIR) $(CMAKE_FLAGS) -DCMAKE_BUILD_TYPE=ASAN - $(CMAKE_BUILD) $(BUILD_DIR) --target webserv + $(CMAKE_BUILD) $(BUILD_DIR) --target webserv --parallel @echo "$(CURRENT_ENV)" > $(BUILD_DIR)/.build-env run: run_release @@ -74,17 +74,17 @@ re: fclean all # Test targets test: release @echo "Building and running tests..." - $(CMAKE_BUILD) $(BUILD_DIR) --target webserv_tests + $(CMAKE_BUILD) $(BUILD_DIR) --target webserv_tests --parallel cd $(BUILD_DIR) && ctest --output-on-failure test_verbose: release @echo "Building and running tests with verbose output..." - $(CMAKE_BUILD) $(BUILD_DIR) --target webserv_tests + $(CMAKE_BUILD) $(BUILD_DIR) --target webserv_tests --parallel cd $(BUILD_DIR) && ctest --verbose test_build: release @echo "Building tests only..." - $(CMAKE_BUILD) $(BUILD_DIR) --target webserv_tests + $(CMAKE_BUILD) $(BUILD_DIR) --target webserv_tests --parallel # Coverage targets coverage: