From a3ea830c6ecebcfe85356d10fb5263f45ea01956 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 4 Nov 2019 21:01:21 +0100 Subject: Added iteractive mode and check with gcc -Wformat the generated test before creating it --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7a8f2a4..6faf210 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ FT_PRINTF_PATH = ../ft_printf CC = gcc -CCFLAGS = -Wall -Wextra -Wno-format +CCFLAGS = -Wall -Wextra LDFLAGS = -L$(FT_PRINTF_PATH) -lftprintf NAME = ft_printf_test @@ -25,12 +25,15 @@ quiet: all no_clear: all ./$(NAME) | $(PYTHON) prettier.py --no-clear +interactive: all + ./$(NAME) | $(PYTHON) prettier.py --interactive + raw: all ./$(NAME) all: $(NAME) -$(NAME): ft_printf_all $(OBJ) +$(NAME): ft_printf_all $(OBJ) header.h tests/tests.h $(CC) $(LDFLAGS) $(CCFLAGS) -o $@ $(OBJ) %.o: %.c -- cgit