Skip to content

Commit

Permalink
now calling default arguments to test the main program ./push_swap
Browse files Browse the repository at this point in the history
  • Loading branch information
biralavor committed Jun 4, 2024
1 parent 8efccf5 commit 08113b2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions _ci_tdd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# By: umeneses <umeneses@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2024/05/10 10:09:44 by umeneses #+# #+# #
# Updated: 2024/06/03 12:55:57 by umeneses ### ########.fr #
# Updated: 2024/06/04 10:47:36 by umeneses ### ########.fr #
# #
# **************************************************************************** #

Expand Down Expand Up @@ -74,7 +74,7 @@ COMP_EXE = $(CC) $(LDFLAGS) $(OBJ_FILES) $(LDLIBS) -o $(NAME)
# **************************************************************************** #

define arguments
9 8 7
9 8 7 1 2 3 1024 50 42
endef

define bonus
Expand All @@ -97,9 +97,11 @@ $(BUILD_D)%.o: %.c

$(NAME): fclean push_swap $(OBJ_FILES)
@$(COMP_EXE)
# @printf "$(YELLOW)"
# @echo ">>> Running PUSH_SWAP with arguments: $(call arguments)"
# $(PUSH_SWAP_D)./push_swap $(call arguments)
@printf "$(PURPLE)"
@echo ">>> Running PUSH_SWAP with default arguments:"
@echo "$(call arguments)"
@printf "$(CYAN)"
$(PUSH_SWAP_D)./push_swap $(call arguments)
@printf "$(GREEN)"
@echo "$(NAME) Ready!"
@printf "$(RESET)"
Expand Down

0 comments on commit 08113b2

Please sign in to comment.