aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-11-02 21:46:04 +0100
committerCharles <sircharlesaze@gmail.com>2019-11-02 21:46:04 +0100
commit1a19e2df1b377cd5245c650ef7152f0055408cbf (patch)
tree6959477ba26666ddc4a2ef091e4d7f390fdad875 /Makefile
parentde0a7f5d17807506f177b5dc90a6d9ccdb679435 (diff)
downloadft_printf_test-1a19e2df1b377cd5245c650ef7152f0055408cbf.tar.gz
ft_printf_test-1a19e2df1b377cd5245c650ef7152f0055408cbf.tar.bz2
ft_printf_test-1a19e2df1b377cd5245c650ef7152f0055408cbf.zip
Safe prettier log write
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 7de97b8..48cf7ce 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
FT_PRINTF_PATH = ../ft_printf
CC = gcc
-CCFLAGS = -Wall -Wextra -Wno-format -g
+CCFLAGS = -Wall -Wextra -Wno-format
LDFLAGS = -L$(FT_PRINTF_PATH) -lftprintf
NAME = ft_printf_test
@@ -12,17 +12,18 @@ MAKE = make -j4
SRC = main.c helper.c tests/pft_tests.c tests/moulitest_tests.c
OBJ = $(SRC:.c=.o)
-run: run_pretty
-
-run_pretty: all
+run: all
./$(NAME) | $(PYTHON) prettier.py
-run_pretty_verbose:
+run_verbose:
./$(NAME) | $(PYTHON) prettier.py --verbose
-run_pretty_quiet:
+run_quiet:
./$(NAME) | $(PYTHON) prettier.py --quiet
+run_no_clear:
+ ./$(NAME) | $(PYTHON) prettier.py --no-clear
+
run_raw: all
./$(NAME)
@@ -41,6 +42,7 @@ fclean: clean
$(RM) $(NAME)
re: fclean all
+ $(MAKE) -C $(FT_PRINTF_PATH) re
ft_printf_all:
$(MAKE) -C $(FT_PRINTF_PATH) all