Makefile is beautiful

This commit is contained in:
Gregory Tertyshny 2016-12-26 19:38:12 +02:00
parent 50c660a9d6
commit 337c227fd7

View file

@ -6,7 +6,7 @@
# By: gtertysh <marvin@42.fr> +#+ +:+ +#+ # # By: gtertysh <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2016/12/14 16:54:48 by gtertysh #+# #+# # # Created: 2016/12/14 16:54:48 by gtertysh #+# #+# #
# Updated: 2016/12/26 19:11:43 by gtertysh ### ########.fr # # Updated: 2016/12/26 19:36:41 by gtertysh ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -51,7 +51,7 @@ CC = clang
all: $(NAME) all: $(NAME)
$(NAME): $(OBJ) $(LIBFOLDER)$(LIB) $(OBJDIR) $(NAME): $(OBJDIR) $(LIBFOLDER)$(LIB) $(OBJ)
$(CC) $(FLAGS) $(OBJ) $(LIBFLAGS) -o $(NAME) $(CC) $(FLAGS) $(OBJ) $(LIBFLAGS) -o $(NAME)
$(OBJDIR)%.o : $(SRCDIR)%.c $(OBJDIR)%.o : $(SRCDIR)%.c