🔨」 fix: fixed makefile for compile need to do better but will be good for now

This commit is contained in:
2025-03-13 21:48:48 +01:00
parent 39e5815d3b
commit f128709c75
3 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@
# By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ # # By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2024/10/25 16:09:27 by adjoly #+# #+# # # Created: 2024/10/25 16:09:27 by adjoly #+# #+# #
# Updated: 2025/02/03 16:43:32 by mmoussou ### ########.fr # # Updated: 2025/03/13 21:46:47 by adjoly ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -18,7 +18,7 @@ CC = c++
OBJSDIR = obj/ OBJSDIR = obj/
INCLUDES = ./includes INCLUDES = includes
SRCS = $(shell find . -name '*.cpp') SRCS = $(shell find . -name '*.cpp')
@ -45,7 +45,7 @@ $(NAME): $(OBJS)
$(OBJSDIR)%.o: %.cpp $(OBJSDIR)%.o: %.cpp
@mkdir -p $(@D) @mkdir -p $(@D)
@$(CC) $(FLAGS) -I$(INCLUDES) -c $< -o $@ @$(CC) $(FLAGS) -I$(INCLUDES) -I./lib/tomlpp/includes -c $< -o $@
@printf "$(DELETE)$(GREEN)「🔨」 build($<): object compiled\n" @printf "$(DELETE)$(GREEN)「🔨」 build($<): object compiled\n"
clean: clean:

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */ /* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/03 15:45:07 by mmoussou #+# #+# */ /* Created: 2025/02/03 15:45:07 by mmoussou #+# #+# */
/* Updated: 2025/02/12 10:02:11 by mmoussou ### ########.fr */ /* Updated: 2025/03/13 21:48:18 by adjoly ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */