Reuse ft_isdigit and ft_strchr from libft
This commit is contained in:
9
Makefile
9
Makefile
@@ -6,7 +6,7 @@
|
||||
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2022/01/18 15:11:16 by gbaconni #+# #+# #
|
||||
# Updated: 2022/04/29 08:10:10 by gbaconni ### lausanne.ch #
|
||||
# Updated: 2022/04/29 08:44:41 by gbaconni ### lausanne.ch #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
#
|
||||
@@ -116,9 +116,15 @@ test: bonus
|
||||
ifeq ($(KERNEL),Linux)
|
||||
test2: leak
|
||||
@$(MAKE) test LEAK=1 DEBUG=$(DEBUG) FAST=$(FAST)
|
||||
|
||||
test21: leak
|
||||
@$(MAKE) test42 LEAK=1 DEBUG=$(DEBUG) FAST=$(FAST)
|
||||
else
|
||||
test2: debug
|
||||
@$(MAKE) test DEBUG=1 LEAK=$(LEAKS) FAST=$(FAST)
|
||||
|
||||
test21: debug
|
||||
@$(MAKE) test42 DEBUG=1 LEAK=$(LEAKS) FAST=$(FAST)
|
||||
endif
|
||||
|
||||
test3: fast
|
||||
@@ -131,7 +137,6 @@ test42: bonus
|
||||
@$(PREFIX) ./$(NAME) "Preceding with blanks: %10d \n" 1977
|
||||
@$(PREFIX) ./$(NAME) "Preceding with zeros: %010d \n" 1977
|
||||
@$(PREFIX) ./$(NAME) "Some different radices: %d %x %#x\n" 100 100 100
|
||||
@$(PREFIX) ./$(NAME) "Width trick: %*d \n" 5 10
|
||||
|
||||
watch: fclean
|
||||
@read -p "cmd: " cmd; while :; do clear; date "+%F %T (every 2.0s)"; echo; sh -c "$${cmd} 2>&1" | tail -n 10 || true; sleep 2; done
|
||||
|
||||
Reference in New Issue
Block a user