diff --git a/Makefile b/Makefile index 10ee4b8..176ce93 100644 --- a/Makefile +++ b/Makefile @@ -15,13 +15,13 @@ NAME = philo CC = clang -FLAGS = -Wall -Wextra -Werror -g +FLAGS = -Wall -Wextra -Werror -g -pthread %.o: %.c ${CC} ${FLAGS} -c -o $@ $< ${NAME}: ${OBJS} - ${CC} ${OBJS} -o ${NAME} + ${CC} ${FLAGS} ${OBJS} -o ${NAME} all: ${NAME}