From 63e9453f1543cfa98dcb9d2b5078bc919f90d9a9 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 20 Mar 2020 21:38:55 +0100 Subject: python3.4 supported (and probably 3.5 aswell) --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fe5a84a..38a663d 100644 --- a/Makefile +++ b/Makefile @@ -18,10 +18,15 @@ LDFLAGS = -L$(FT_PRINTF_PATH) -lftprintf NAME = ft_printf_test CHECK_LEAKS_NAME = check_leaks -PYTHON = python3 RM = rm -f MAKE = make +PYTHON = python3 +# ifeq ($(shell $(PYTHON) --version | cut -d ' ' -f 2 | cut -d '.' -f 1),2) +# PYTHON = python3 +# $(error You must have python3 installed) +# endif + SRC = main.c helper.c tests/pft_tests.c tests/moulitest_tests.c tests/printf_tester_tests.c \ tests/printf_tests_tests.c saved_tests.c generated.c OBJ = $(SRC:.c=.o) @@ -49,7 +54,7 @@ no_clearbonus: allbonus no_clear interactive: all ./$(NAME) | $(PYTHON) prettier.py --interactive -interactivebonus: allbonus interactive +interactivebonus: allbonus interactive raw: all ./$(NAME) -- cgit