diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-11-04 21:01:21 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-11-05 03:08:14 +0100 |
| commit | a3ea830c6ecebcfe85356d10fb5263f45ea01956 (patch) | |
| tree | 9fca944b27d2aefe0d0ef1b2b589576a063d5b2f /Makefile | |
| parent | 6ebaad27d92a5bb47fdf9618df12d3b4120f664e (diff) | |
| download | ft_printf_test-a3ea830c6ecebcfe85356d10fb5263f45ea01956.tar.gz ft_printf_test-a3ea830c6ecebcfe85356d10fb5263f45ea01956.tar.bz2 ft_printf_test-a3ea830c6ecebcfe85356d10fb5263f45ea01956.zip | |
Added iteractive mode and check with gcc -Wformat the generated test
before creating it
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |
