updated Makefile
This commit is contained in:
parent
9502638ab6
commit
3b3796776c
@ -1,12 +1,12 @@
|
|||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
# #
|
# #
|
||||||
# .--. _ #
|
# .--. _ #
|
||||||
# Makefile |o_o || | #
|
# Makefile :+: :+: #
|
||||||
# |:_/ || |_ _ ___ __ #
|
# |:_/ || |_ _ ___ __ #
|
||||||
# By: djonker <djonker@student.codam.nl> // \ \ __| | | \ \/ / #
|
# By: djonker <djonker@student.codam.nl> // \ \ __| | | \ \/ / #
|
||||||
# (| | )|_| |_| |> < #
|
# (| | )|_| |_| |> < #
|
||||||
# Created: 2021/08/19 15:20:20 by djonker /'\_ _/`\__|\__,_/_/\_\ #
|
# 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
|
re: fclean all
|
||||||
|
|
||||||
$(OBJ): $(SRC)
|
$(OBJ): $(SRC) philo.h Makefile
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
@printf "\e[1;34mBuilding $@\n\e[0;00m"
|
@printf "\e[1;34mBuilding $@\n\e[0;00m"
|
||||||
@$(CC) $(CFLAGS) -c $(@:obj/%.o=src/%.c) -o $@
|
@$(CC) $(CFLAGS) -c $(@:obj/%.o=src/%.c) -o $@
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
# #
|
# #
|
||||||
# .--. _ #
|
# .--. _ #
|
||||||
# Makefile :+: :+: :+: #
|
# Makefile :+: :+: #
|
||||||
# |:_/ || |_ _ ___ __ #
|
# |:_/ || |_ _ ___ __ #
|
||||||
# By: djonker <djonker@student.codam.nl> // \ \ __| | | \ \/ / #
|
# By: djonker <djonker@student.codam.nl> // \ \ __| | | \ \/ / #
|
||||||
# (| | )|_| |_| |> < #
|
# (| | )|_| |_| |> < #
|
||||||
# Created: 2021/08/19 15:20:20 by djonker /'\_ _/`\__|\__,_/_/\_\ #
|
# 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
|
re: fclean all
|
||||||
|
|
||||||
$(OBJ): $(SRC)
|
$(OBJ): $(SRC) philo.h Makefile
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
@printf "\e[1;34mBuilding $@\n\e[0;00m"
|
@printf "\e[1;34mBuilding $@\n\e[0;00m"
|
||||||
@$(CC) $(CFLAGS) -c $(@:obj/%.o=src/%.c) -o $@
|
@$(CC) $(CFLAGS) -c $(@:obj/%.o=src/%.c) -o $@
|
||||||
|
Loading…
Reference in New Issue
Block a user