aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-10-10 10:20:32 +0200
committerCharles <sircharlesaze@gmail.com>2019-10-10 10:20:32 +0200
commit2df0d3e47a9deb4676b4fd82a1924da4181ef9d9 (patch)
tree3b8e8800557754983b5da44757424b43670232bc /Makefile
parente1e832e8f63046bdea329a8f82b6d88131c1d09e (diff)
downloadget_next_line-2df0d3e47a9deb4676b4fd82a1924da4181ef9d9.tar.gz
get_next_line-2df0d3e47a9deb4676b4fd82a1924da4181ef9d9.tar.bz2
get_next_line-2df0d3e47a9deb4676b4fd82a1924da4181ef9d9.zip
WIP: not getting last part if buff size too high
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 616c560..6cd00ec 100644
--- a/Makefile
+++ b/Makefile
@@ -6,17 +6,17 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/10/08 08:11:00 by cacharle #+# #+# #
-# Updated: 2019/10/09 16:42:37 by cacharle ### ########.fr #
+# Updated: 2019/10/10 09:56:42 by cacharle ### ########.fr #
# #
# **************************************************************************** #
$(RM) = rm -f
CC = gcc
-CCFLAGS = -Wall -Wextra #-Werror -D BUFFER_SIZE=32
+CCFLAGS = -Wall -Wextra -Werror
NAME = get_next_line
-SRC = get_next_line.c get_next_line_utils.c
+SRC = get_next_line.c get_next_line_utils.c main.c
OBJ = $(SRC:.c=.o)
INCLUDE = get_next_line.h
@@ -25,7 +25,7 @@ all: $(NAME)
$(NAME): $(OBJ) $(INCLUDE)
$(CC) $(CCFLAGS) -o $(NAME) $(OBJ)
-%.o: %.c
+%.o: %.c $(INCLUDE)
$(CC) $(CCFLAGS) -c -o $@ $<
clean: