Fix: follow CC

This commit is contained in:
Maieul BOYER 2024-04-28 20:04:19 +02:00
parent f811e55dea
commit a52d41afbe
No known key found for this signature in database
5 changed files with 6 additions and 20 deletions

View file

@ -6,7 +6,7 @@
# By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/04/28 17:28:30 by maiboyer #+# #+# #
# Updated: 2024/04/28 19:52:08 by maiboyer ### ########.fr #
# Updated: 2024/04/28 20:01:05 by maiboyer ### ########.fr #
# #
# **************************************************************************** #
@ -57,7 +57,7 @@ END = \033[0m
.PHONY: all bonus
all:
@$(MAKE) -C ./stdme/ LIB_NAME="$(shell realpath ./stdme)/" "BUILD_DIR=$(shell realpath ./$(OBJDIRNAME))" libme.a
@$(MAKE) -C ./stdme/ LIB_NAME="$(shell realpath ./stdme)/" "BUILD_DIR=$(shell realpath ./$(OBJDIRNAME))" CC=$(CC) libme.a
@$(MAKE) -C ./parser/ LIB_NAME="$(shell realpath ./parser)/" "BUILD_DIR=$(shell realpath ./$(OBJDIRNAME))" libgmr.a
@$(MAKE) -f./Minishell.mk $(NAME)