Initial Commit

This commit is contained in:
Baco
2021-10-22 10:26:25 +02:00
parent 7261d84ad9
commit 945fab19d7
11 changed files with 1042 additions and 1 deletions

18
libft/munit.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
program=$(basename $0 .sh)".out"
set -e
make test
echo
#make fclean
make
echo
echo $(basename ${PWD}):
if [ ${DEBUG-0} -gt 0 ]; then
gcc -Wall -Wextra -Werror -g -fsanitize=address -O1 munit/munit.c munit.c -I munit -L. -lft -o ${program}
else
gcc -Wall -Wextra -Werror munit/munit.c munit.c -I munit -L. -lft -o ${program}
fi
./${program} "$@"
#make fclean
rm -f ${program}
rm -fr *.dSYM