From 71221b4f8e9178e421e48d2a6b9f3eae715cdce7 Mon Sep 17 00:00:00 2001 From: narnaud Date: Fri, 20 May 2022 10:40:38 +0200 Subject: [PATCH] gcc instead of clang --- philo/Makefile | 2 +- philo_bonus/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/philo/Makefile b/philo/Makefile index 9d48079..5bdad3b 100644 --- a/philo/Makefile +++ b/philo/Makefile @@ -3,7 +3,7 @@ NAME = philo SRCS = philo.c philo_init.c philo_life.c philo_utils.c OBJS = ${SRCS:.c=.o} -CC = clang +CC = gcc CFLAGS = -Werror -Wextra -Wall -D_REENTRANT RM = rm -rf diff --git a/philo_bonus/Makefile b/philo_bonus/Makefile index 578a7ee..ec4d154 100644 --- a/philo_bonus/Makefile +++ b/philo_bonus/Makefile @@ -3,7 +3,7 @@ NAME = philo SRCS = philo.c philo_utils.c OBJS = ${SRCS:.c=.o} -CC = clang +CC = gcc CFLAGS = -Werror -Wextra -Wall -D_REENTRANT RM = rm -rf