From f57ec76fd1be738d7b9d82c1f7548883efa15d0c Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 30 Sep 2020 14:48:12 +0200 Subject: Added philo_three draft --- philo_two/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'philo_two') 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 +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # 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 -- cgit