1
0

first commit

This commit is contained in:
Adam Joly
2023-08-03 23:16:27 +02:00
parent 7f3254f1c5
commit a80c4d61d7
133 changed files with 4293 additions and 0 deletions

49
BSQ/Makefile Normal file
View File

@ -0,0 +1,49 @@
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: axdubois <axdubois@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2023/08/02 19:37:01 by axdubois #+# #+# #
# Updated: 2023/08/02 19:37:06 by axdubois ### ########.fr #
# #
# **************************************************************************** #
NAME = bsq
CC = clang
SRCS = srcs/Display-c/write.c \
srcs/parsing-c/parsing.c \
srcs/utils-c/free.c \
srcs/utils-c/utils.c \
srcs/parsing-c/charobj.c \
srcs/main.c \
srcs/parsing-c/fst_line.c \
srcs/algo/algo.c \
srcs/algo/controller.c \
srcs/parsing-c/map_error.c
OBJS = $(SRCS:.c=.o)
FLAGS = -Wall -Wextra -Werror
$(NAME): $(OBJS)
$(CC) $(FLAGS) -o $(NAME) $(OBJS)
.c.o:
$(CC) $(FLAGS) -c $< -o $@
all: $(NAME)
clean:
rm -f $(OBJS)
fclean: clean
rm -f $(NAME)
re: fclean all
.PHONY: clean all re fclean