wip Sully pbm decrementing

This commit is contained in:
asus
2024-01-26 00:13:45 +01:00
parent 65aac2c25a
commit 996749c8be
6 changed files with 20 additions and 39 deletions

View File

@@ -102,13 +102,13 @@ $(NAME): $(OBJS)
$(CC) $(OBJS) -o $@ $(LIBS)
leaks: $(NAME)
valgrind --leak-check=full --show-leak-kinds=all ./$(NAME)
valgrind --leak-check=full --show-leak-kinds=all $(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 $(NAME) and $(SRCS) differ"$(RESET); fi
if [ $$? -eq 0 ]; then echo $(GREEN)"Files $(SRCS) and $(CLONE) are identical"$(RESET); else echo $(RED)":Files $(SRCS) and $(CLONE) differ"$(RESET); fi
clean:
$(RM_OBJS)
@@ -120,4 +120,3 @@ re: fclean all
.PHONY : all clean fclean re concat diff leaks