From 723c4602c6ec9b74e841501754e651ef359f6385 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 12 May 2020 19:11:40 +0200 Subject: Added perspective matrix --- Makefile | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 94a2bb6..7daf4dc 100644 --- a/Makefile +++ b/Makefile @@ -6,12 +6,12 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/05/09 10:24:52 by charles #+# #+# # -# Updated: 2020/05/12 14:04:16 by charles ### ########.fr # +# Updated: 2020/05/12 16:07:23 by charles ### ########.fr # # # # **************************************************************************** # -MAKE = make RM = rm -f +MAKE = make --no-print-directory VENDOR_DIR = vendor LIBFT_DIR = $(VENDOR_DIR)/libft @@ -38,19 +38,23 @@ INC = $(shell find $(INC_DIR) -type f -name '*.h') all: prebuild $(NAME) prebuild: - mkdir -p $(OBJ_DIR) + @mkdir -p $(OBJ_DIR) $(NAME): $(OBJ) libft_all libftm_all - $(CC) -o $@ $(OBJ) $(LDFLAGS) + @echo "Linking $@" + @$(CC) -o $@ $(OBJ) $(LDFLAGS) $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c $(INC) - $(CC) $(CCFLAGS) -c -o $@ $< + @echo "Compiling $@" + @$(CC) $(CCFLAGS) -c -o $@ $< cleanloc: - $(RM) $(OBJ) + @echo "Compiling objects" + @$(RM) $(OBJ) fcleanloc: cleanloc - $(RM) $(NAME) + @echo "Removing $(NAME)" + @$(RM) $(NAME) reloc: fcleanloc all -- cgit