Improve hexadecimal and pointer by using ltoa instead of itoa
This commit is contained in:
5
Makefile
5
Makefile
@@ -6,7 +6,7 @@
|
||||
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2022/01/18 15:11:16 by gbaconni #+# #+# #
|
||||
# Updated: 2022/04/15 17:19:14 by gbaconni ### lausanne.ch #
|
||||
# Updated: 2022/04/15 20:37:26 by gbaconni ### lausanne.ch #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
#
|
||||
@@ -88,9 +88,10 @@ test: clean $(NAME)
|
||||
@$(PREFIX) ./$(NAME) "%d" 42 || true
|
||||
@$(PREFIX) ./$(NAME) "%x" 42 || true
|
||||
@$(PREFIX) ./$(NAME) "%X" 42 || true
|
||||
@$(PREFIX) ./$(NAME) "42" "" || true
|
||||
@$(PREFIX) ./$(NAME) "%%" "" || true
|
||||
@$(PREFIX) ./$(NAME) "%p" "" || true
|
||||
@$(PREFIX) ./$(NAME) "%p" "\n" || true
|
||||
@$(PREFIX) ./$(NAME) "Forty Two" "" || true
|
||||
|
||||
test2: leak
|
||||
@$(MAKE) test LEAK=1
|
||||
|
||||
Reference in New Issue
Block a user