improve printer

This commit is contained in:
hugogogo
2026-05-13 23:27:50 +02:00
parent b0e6483a68
commit 7978f0d706
8 changed files with 103 additions and 87 deletions

View File

@@ -44,8 +44,10 @@ SRCS = main.c \
reducer.c \
solver.c \
errors.c \
printer.c \
print_enums.c
printer_equation.c \
printer_solutions.c \
print_enums.c \
print_debug.c
# COMPILATION CONFIG :
CC = gcc
@@ -149,6 +151,8 @@ run: $(NAME)
-./$(NAME) $(RUN_FLAGS) "3x^2"
@echo $(B_PURPLE)"\n---------------------------------------------\n23. degree 2 \n"$(RESET)
-./$(NAME) $(RUN_FLAGS) "3x^2 = 0"
@echo $(B_PURPLE)"\n---------------------------------------------\n23. degree 2 \n"$(RESET)
-./$(NAME) $(RUN_FLAGS) "3x^2 + 2 = 0"
clean:
$(RM_OBJS)