updated Makefile

This commit is contained in:
djonker 2023-10-26 19:09:42 +02:00
parent 9502638ab6
commit 3b3796776c
2 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
# **************************************************************************** #
# #
# .--. _ #
# Makefile |o_o || | #
# Makefile :+: :+: #
# |:_/ || |_ _ ___ __ #
# By: djonker <djonker@student.codam.nl> // \ \ __| | | \ \/ / #
# (| | )|_| |_| |> < #
# Created: 2021/08/19 15:20:20 by djonker /'\_ _/`\__|\__,_/_/\_\ #
# Updated: 2023/06/15 23:37:40 by houtworm \___)=(___/ #
# Updated: 2023/10/26 18:04:09 by houtworm ######## odam.nl #
# #
# **************************************************************************** #
@ -31,7 +31,7 @@ fclean: clean
re: fclean all
$(OBJ): $(SRC)
$(OBJ): $(SRC) philo.h Makefile
@mkdir -p $(dir $@)
@printf "\e[1;34mBuilding $@\n\e[0;00m"
@$(CC) $(CFLAGS) -c $(@:obj/%.o=src/%.c) -o $@

View File

@ -1,12 +1,12 @@
# **************************************************************************** #
# #
# .--. _ #
# Makefile :+: :+: :+: #
# Makefile :+: :+: #
# |:_/ || |_ _ ___ __ #
# By: djonker <djonker@student.codam.nl> // \ \ __| | | \ \/ / #
# (| | )|_| |_| |> < #
# Created: 2021/08/19 15:20:20 by djonker /'\_ _/`\__|\__,_/_/\_\ #
# Updated: 2023/05/22 07:37:03 by houtworm ### ########.fr #
# Updated: 2023/10/26 18:03:59 by houtworm ######## odam.nl #
# #
# **************************************************************************** #
@ -32,7 +32,7 @@ fclean: clean
re: fclean all
$(OBJ): $(SRC)
$(OBJ): $(SRC) philo.h Makefile
@mkdir -p $(dir $@)
@printf "\e[1;34mBuilding $@\n\e[0;00m"
@$(CC) $(CFLAGS) -c $(@:obj/%.o=src/%.c) -o $@