add debug mode and stdin input
This commit is contained in:
8
Makefile
8
Makefile
@@ -96,8 +96,12 @@ $(NAME): $(OBJS)
|
||||
$(CC) $(OBJS) -o $@ $(LFLAGS)
|
||||
|
||||
run: $(NAME)
|
||||
@echo $(YELLOW)"run"$(RESET)
|
||||
@./$(NAME) "3.4 * x^2 + 1 * x^1 - 2.0 * x^0 = 5.123 * x^1"
|
||||
@echo $(BLUE)"\n -> run \n"$(RESET)
|
||||
./$(NAME) -d "3.4 * x^2 + 1 * x^1 - 2.0 * x^0 = 5.123 * x^1"
|
||||
@echo $(BLUE)"\n -> run \n"$(RESET)
|
||||
./$(NAME) -d "3 * x^2 + 5 * x^1 - 2 * x^0 = 5 * x^1"
|
||||
@echo $(BLUE)"\n -> run \n"$(RESET)
|
||||
./$(NAME) -d "3*x^2 + 2*x = 0"
|
||||
|
||||
clean:
|
||||
$(RM_OBJS)
|
||||
|
||||
Reference in New Issue
Block a user