0
0
This commit is contained in:
Guy Baconniere
2021-08-24 15:04:25 +02:00
parent 91d591215a
commit 4bba30bd82
14 changed files with 113 additions and 38 deletions

View File

@@ -6,7 +6,7 @@
/* By: gbaconni <gbaconni@42lausanne.ch> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/08/20 10:17:09 by gbaconni #+# #+# */
/* Updated: 2021/08/20 12:05:50 by gbaconni ### ########.fr */
/* Updated: 2021/08/22 15:41:04 by gbaconni ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef FT_BOOLEAN_H
@@ -16,8 +16,8 @@
typedef int t_bool;
# define TRUE 0
# define FALSE 1
# define TRUE 1
# define FALSE 0
# define EVEN(nbr) nbr % 2 == 0
# define EVEN_MSG "I have an even number of arguments.\n"
# define ODD_MSG "I have an odd number of arguments.\n"

View File

@@ -7,7 +7,7 @@ find . -type f -name '*.c' \! -name 'main.c' -exec \
norminette -R CheckForbiddenSourceHeader {} \;
echo
gcc -Wall -Wextra -Werror -o a.out *.c
cpp *.c | grep -B3 -A30 -e '[0-9] "main.c" [2-9]' -e '[0-9] "ft_[^"]*" [2-9]'
#cpp *.c | tail -n 30
echo
echo $(basename $PWD):
./a.out "$@"