diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-05-12 19:11:40 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-05-12 19:11:40 +0200 |
| commit | 723c4602c6ec9b74e841501754e651ef359f6385 (patch) | |
| tree | d6dd27c251871fb61e3fc99fe7a0a96438096f1d /Makefile | |
| parent | 7b214503608550dc2853b9e01526723f8c65baf3 (diff) | |
| download | scop-723c4602c6ec9b74e841501754e651ef359f6385.tar.gz scop-723c4602c6ec9b74e841501754e651ef359f6385.tar.bz2 scop-723c4602c6ec9b74e841501754e651ef359f6385.zip | |
Added perspective matrix
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -6,12 +6,12 @@ # By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # 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 |
