init structs
This commit is contained in:
7
Makefile
7
Makefile
@@ -10,7 +10,9 @@ DIR_SRCS = srcs
|
||||
INCLUDES = -I$(HEADERS_D) -I$(LIBFT_D)
|
||||
|
||||
HEADERS_D = ./headers
|
||||
HEADERS = philo.h
|
||||
HEADERS = philo.h \
|
||||
philo_struct.h \
|
||||
philo_proto.h
|
||||
|
||||
LIBS = -L $(LIBFT_D) -lft \
|
||||
-lpthread
|
||||
@@ -18,7 +20,8 @@ LIBS = -L $(LIBFT_D) -lft \
|
||||
LIBFT_D = ./libft
|
||||
LIBFT = $(LIBFT_D)/libft.a
|
||||
|
||||
SRCS = main.c
|
||||
SRCS = main.c \
|
||||
init.c
|
||||
|
||||
DIR_OBJS = builds
|
||||
OBJS = $(SRCS:%.c=$(DIR_OBJS)/%.o)
|
||||
|
||||
Reference in New Issue
Block a user