updated Makefile

This commit is contained in:
djonker 2023-10-26 18:46:40 +02:00
parent 4e9d35ac3b
commit 27c6a28d21

View File

@ -6,7 +6,7 @@
# By: djonker <marvin@codam.nl> +#+ # # By: djonker <marvin@codam.nl> +#+ #
# +#+ # # +#+ #
# Created: 2020/12/19 06:09:46 by djonker #+# #+# # # Created: 2020/12/19 06:09:46 by djonker #+# #+# #
# Updated: 2023/10/26 18:01:13 by houtworm ######## odam.nl # # Updated: 2023/10/26 18:46:32 by houtworm ######## odam.nl #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -32,7 +32,7 @@ fclean: clean
re: fclean all re: fclean all
$(OBJ): $(SRC) netwhat.h Makefile $(OBJ): $(SRC) 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 $@