Makefile is beautiful
This commit is contained in:
parent
50c660a9d6
commit
337c227fd7
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue