From 5a47d63887a0878243b17799b19c4a0f76d3756d Mon Sep 17 00:00:00 2001 From: Charles Date: Sun, 24 Nov 2019 01:04:21 +0100 Subject: ft_write.s, ft_read.s, ft_strdup.s tests and prettier --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fc5fc11..dd317a2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ RM = rm -f +PYTHON = python3 LIBASM_PATH = ../libasm @@ -11,8 +12,13 @@ SRC = main.c ft_strlen_test.c ft_strcpy_test.c ft_strcmp_test.c \ ft_write_test.c ft_read_test.c ft_strdup_test.c helper.c OBJ = $(SRC:.c=.o) -run: all - ./runtest +run: pretty + +pretty: all + ./$(NAME) | $(PYTHON) prettier.py + +run_raw: all + ./$(NAME) all: $(NAME) -- cgit