Makefile: add libft.h as dependency of %.o
This commit is contained in:
parent
bbc67c8bc8
commit
625255c864
4
Makefile
4
Makefile
@ -6,7 +6,7 @@
|
||||
# By: tmaze <marvin@42.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2018/04/04 10:51:59 by tmaze #+# #+# #
|
||||
# Updated: 2018/04/04 17:07:09 by tmaze ### ########.fr #
|
||||
# Updated: 2018/04/04 17:17:24 by tmaze ### ########.fr #
|
||||
# #
|
||||
#******************************************************************************#
|
||||
|
||||
@ -38,7 +38,7 @@ all: $(NAME)
|
||||
$(NAME): $(OBJS)
|
||||
ar rcs $(NAME) $(OBJS)
|
||||
|
||||
%.o: %.c
|
||||
%.o: %.c libft.h
|
||||
$(CC) $(CCFLAGS) $(CCSTD) $(INCLS) -c $< -o $@
|
||||
|
||||
clean:
|
||||
|
Loading…
x
Reference in New Issue
Block a user