first commit
This commit is contained in:
49
BSQ/Makefile
Normal file
49
BSQ/Makefile
Normal 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
|
Reference in New Issue
Block a user