aboutsummaryrefslogtreecommitdiff
path: root/philo_two/Makefile
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-01-01 14:46:13 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-01-01 14:46:13 +0100
commitb9d93edf40f228fcc6e18e9e6d0a1c5db498c004 (patch)
tree5abb172c43b54adcf4caef33ede04f64c957246f /philo_two/Makefile
parent83df2b3a49bd3f627ae304bb1529e27d9b2d988c (diff)
downloadphilosophers-b9d93edf40f228fcc6e18e9e6d0a1c5db498c004.tar.gz
philosophers-b9d93edf40f228fcc6e18e9e6d0a1c5db498c004.tar.bz2
philosophers-b9d93edf40f228fcc6e18e9e6d0a1c5db498c004.zip
Added meal counter to philo_two (still segfault 10% of the time)
Diffstat (limited to 'philo_two/Makefile')
-rw-r--r--philo_two/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/philo_two/Makefile b/philo_two/Makefile
index 3135bb4..6ee7cca 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/10/24 13:02:05 by charles ### ########.fr #
+# Updated: 2021/01/01 14:45:16 by charles ### ########.fr #
# #
# **************************************************************************** #
@@ -16,7 +16,7 @@ MAKE = make --no-print-directory
COMMONDIR = ../common
CC = gcc
-CCFLAGS = -g -Wall -Wextra -I$(COMMONDIR) -Werror
+CCFLAGS = -g -I$(COMMONDIR) -std=c99 -Wall -Wextra -Werror
LDFLAGS = -lpthread -L$(COMMONDIR) -lphilocommon
NAME = philo_two