wip Sully pbm decrementing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user