updated mlx

This commit is contained in:
Danny Jonker 2023-10-25 13:55:10 +02:00
parent 4d9e691ea6
commit 07fad4827f

View File

@ -6,7 +6,7 @@
# By: djonker <djonker@student.codam.nl> // \ \ __| | | \ \/ / #
# (| | )|_| |_| |> < #
# Created: 2022/11/24 10:12:10 by djonker /'\_ _/`\__|\__,_/_/\_\ #
# Updated: 2023/10/25 12:07:54 by djonker ######## odam.nl #
# Updated: 2023/10/25 13:53:30 by djonker ######## odam.nl #
# #
# **************************************************************************** #
@ -14,7 +14,7 @@ NAME =fract-ol
CC =gcc
FC =-Wall -Werror -Wextra -Wunreachable-code -Ofast #-fsanitize=address
HEAD =-I ./include -I $(MLX)/include
RM =rm -f
RM =rm -rf
UNAME_S :=$(shell uname -s)
ifeq ($(UNAME_S),Linux)
OS =Freedom Respecting Linux! :)
@ -40,13 +40,12 @@ all: libft libmlx $(NAME)
clean:
@$(RM) -r obj
@$(MAKE) -C libft clean > /dev/null
@$(MAKE) -C mlx clean > /dev/null
@$(MAKE) -C mlx/build clean > /dev/null
@printf "\e[1;35mCleaned Object Files\n\e[0;00m"
fclean: clean
@$(RM) $(NAME)
@$(RM) $(NAME) mlx/build
@$(MAKE) -C libft fclean > /dev/null
@$(MAKE) -C mlx fclean > /dev/null
@printf "\e[1;31mCleaned Executables\n\e[0;00m"
re: fclean all