Browse Source

gcc instead of clang

master
narnaud 3 years ago
parent
commit
71221b4f8e
  1. 2
      philo/Makefile
  2. 2
      philo_bonus/Makefile

2
philo/Makefile

@ -3,7 +3,7 @@ NAME = philo
SRCS = philo.c philo_init.c philo_life.c philo_utils.c SRCS = philo.c philo_init.c philo_life.c philo_utils.c
OBJS = ${SRCS:.c=.o} OBJS = ${SRCS:.c=.o}
CC = clang CC = gcc
CFLAGS = -Werror -Wextra -Wall -D_REENTRANT CFLAGS = -Werror -Wextra -Wall -D_REENTRANT
RM = rm -rf RM = rm -rf

2
philo_bonus/Makefile

@ -3,7 +3,7 @@ NAME = philo
SRCS = philo.c philo_utils.c SRCS = philo.c philo_utils.c
OBJS = ${SRCS:.c=.o} OBJS = ${SRCS:.c=.o}
CC = clang CC = gcc
CFLAGS = -Werror -Wextra -Wall -D_REENTRANT CFLAGS = -Werror -Wextra -Wall -D_REENTRANT
RM = rm -rf RM = rm -rf

Loading…
Cancel
Save