0
0
This commit is contained in:
2021-08-25 20:54:50 +02:00
parent 8d276ad189
commit d4715b6683
4 changed files with 183 additions and 0 deletions

14
C_08/git/ex05/main.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
set -e
rm -f a.out
find . -type f -name '*.h' -exec \
norminette -R CheckDefine {} \;
find . -type f -name '*.c' \! -name 'main.c' -exec \
norminette -R CheckForbiddenSourceHeader {} \;
echo
gcc -Wall -Wextra -Werror -o a.out *.c
#cpp *.c | tail -n 30
echo
echo $(basename $PWD):
./a.out "$@"
rm -f a.out