aboutsummaryrefslogtreecommitdiff
path: root/philo_two
diff options
context:
space:
mode:
Diffstat (limited to 'philo_two')
-rw-r--r--philo_two/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/philo_two/Makefile b/philo_two/Makefile
index 4561afc..c4084a7 100644
--- a/philo_two/Makefile
+++ b/philo_two/Makefile
@@ -6,7 +6,7 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/11/24 05:50:15 by cacharle #+# #+# #
-# Updated: 2020/09/30 08:23:03 by cacharle ### ########.fr #
+# Updated: 2020/09/30 10:37:38 by cacharle ### ########.fr #
# #
# **************************************************************************** #
@@ -27,12 +27,12 @@ OBJDIR = obj
SRC = $(shell find $(SRCDIR) -type f -name '*.c')
OBJ = $(SRC:$(SRCDIR)/%.c=$(OBJDIR)/%.o)
-all: prebuild common_all $(NAME)
+all: prebuild $(NAME)
prebuild:
@mkdir -p $(OBJDIR)
-$(NAME): $(OBJ)
+$(NAME): common_all $(OBJ)
$(CC) $(LDFLAGS) -o $@ $(OBJ)
$(OBJDIR)/%.o: $(SRCDIR)/%.c