ajout libft en dure

This commit is contained in:
hugodu69
2020-06-24 17:42:50 +02:00
parent a1b21caa35
commit dca24e1312
88 changed files with 5283 additions and 18 deletions

View File

@@ -52,24 +52,11 @@ clean:
fclean: clean
make fclean -C $(LDIR)
/bin/rm -f $(NAME)
/bin/rm -f out*.txt a.out temoin.txt exemple.txt
re: fclean all
# - - - - - - - - - - - #
# rules to test #
# with #
# main and libft #
# - - - - - - - - - - - #
lib:
make -C $(LDIR)
main: $(ODIR) $(OBJS) $(DEPS)
$(CC) $(CFLAGS) $(OBJS) $(LFLAGS) main.c
fsanitize: $(ODIR) $(OBJS) $(DEPS)
$(CC) $(CFLAGS) $(OBJS) $(LFLAGS) main.c -fsanitize=address
gcc:
$(CC) $(CFLAGS) main.c -L. -lftprintf
mainfclean: fclean
/bin/rm -f out*.txt a.out temoin.txt exemple.txt
.PHONY: all clean fclean re lib cleanlib main fsanitize mainfclean gcc
.PHONY: all clean fclean re gcc