diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-20 21:38:55 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-20 21:38:55 +0100 |
| commit | 63e9453f1543cfa98dcb9d2b5078bc919f90d9a9 (patch) | |
| tree | cb74e9ca619d073af01a0e1b57df54446dc28627 /Makefile | |
| parent | 13db5da424586484604cb3e86d0b11d860b68bdf (diff) | |
| download | ft_printf_test-63e9453f1543cfa98dcb9d2b5078bc919f90d9a9.tar.gz ft_printf_test-63e9453f1543cfa98dcb9d2b5078bc919f90d9a9.tar.bz2 ft_printf_test-63e9453f1543cfa98dcb9d2b5078bc919f90d9a9.zip | |
python3.4 supported (and probably 3.5 aswell)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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) |
