From 8103cadfc95fb76539bfccc893a2101ccb89ea90 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Fri, 28 Jun 2024 15:09:32 +0200 Subject: Add data structures for tokenizing and parsing * Add data structures and helper functions for ast * Add data structures for tokenizing * Add helper functions for token structures * Include token.h in minishell.h * Add new/free functions for nodes/tokens to Makefile * Add UNREACHABLE macro to debug_tools.h--- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dfe7a30..41551ec 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,8 @@ LIBS = -L $(LIB_DIR)/libft -lft -lreadline HEADERS = -I include -I $(LIB_DIR)/libft VPATH := src -SRC := main.c debug_tools.c init.c signal_handling.c repl.c +SRC := main.c debug_tools.c init.c signal_handling.c repl.c new_token.c \ + free_token.c new_node.c free_node.c OBJ_DIR := _obj OBJ := $(addprefix $(OBJ_DIR)/, $(SRC:%.c=%.o)) -- cgit v1.2.3