From 83df2b3a49bd3f627ae304bb1529e27d9b2d988c Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 1 Jan 2021 13:58:10 +0100 Subject: Fixing philo_one segfault because not checking correctly if finished --- philo_one/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'philo_one/Makefile') diff --git a/philo_one/Makefile b/philo_one/Makefile index e6e3ec1..76874a6 100644 --- a/philo_one/Makefile +++ b/philo_one/Makefile @@ -6,7 +6,7 @@ # By: cacharle +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2019/11/24 05:50:15 by cacharle #+# #+# # -# Updated: 2020/12/30 13:55:45 by charles ### ########.fr # +# Updated: 2021/01/01 13:50:11 by charles ### ########.fr # # # # **************************************************************************** # @@ -16,7 +16,7 @@ MAKE = make --no-print-directory COMMONDIR = ../common CC = gcc -CCFLAGS = -g -I$(COMMONDIR) -Wall -Wextra #-Werror +CCFLAGS = -I$(COMMONDIR) -std=c99 -Wall -Wextra -Werror LDFLAGS = -lpthread -L$(COMMONDIR) -lphilocommon NAME = philo_one -- cgit