add: libftx

This commit is contained in:
Camille Chauvet
2023-04-26 11:02:44 +00:00
parent ad754bb579
commit 537283e940
87 changed files with 2922 additions and 3 deletions

View File

@ -1,21 +1,26 @@
SRCS = main.c
OBJS = ${SRCS:.c=.o}
CC = clang
LIBS = libftx/libftx.a
CFLAGS = -g -Wall -Wextra -Werror
NAME = cub3D
all: ${NAME}
${NAME}: ${OBJS}
make -C libftx all
${CC} ${CFLAGS} -o ${NAME} ${OBJS} ${LIBS}
clean:
make -C libftx clean
rm -f ${OBJS}
fclean:
rm -f ${OBJS} ${NAME}
fclean: clean
make -C libftx fclean
rm -f ${NAME}
re: fclean all
re: fclean
make all
.PHONY: all clean fclean re coffee bozo