sully works

This commit is contained in:
asus
2024-01-26 11:42:58 +01:00
parent b4b3b64444
commit 57e4f2958e
4 changed files with 16 additions and 9 deletions

View File

@@ -104,9 +104,11 @@ $(NAME): $(OBJS)
leaks: $(NAME)
valgrind --leak-check=full --show-leak-kinds=all $(CREATE_CLONE)
run:
$(CREATE_CLONE)
diff: $(NAME)
@echo $(CYAN)"compare source with output :"$(RESET)
$(CREATE_CLONE)
- diff --color $(CLONE) $(SRCS); \
if [ $$? -eq 0 ]; then echo $(GREEN)"Files $(SRCS) and $(CLONE) are identical"$(RESET); else echo $(RED)":Files $(SRCS) and $(CLONE) differ"$(RESET); fi
@@ -118,5 +120,5 @@ fclean: clean
re: fclean all
.PHONY : all clean fclean re concat diff leaks
.PHONY : all clean fclean re concat run diff leaks