ca marche presques mais ça marche pas du tout

This commit is contained in:
Camille Chauvet
2023-01-08 18:03:40 +01:00
parent d7256c47a5
commit 650d9b1ab5
331 changed files with 20069 additions and 232 deletions

View File

@ -1,6 +1,6 @@
SRCS = asset.c draw.c main.c map.c parsing.c shape.c xpm.c
SRCS = asset.c color.c draw.c ft_freer.c main.c map.c parsing.c xpm.c
OBJ = ${SRCS:.c=.o}
OBJS = ${SRCS:.c=.o}
NAME = so_long
@ -15,13 +15,13 @@ FLAG = -Wall -Wextra -Werror -g
all: ${NAME}
${NAME}: ${OBJ}
${NAME}: ${OBJS}
make -C libftx
make -C minilibx-linux
${CC} ${OBJ} -o ${NAME} ${LIBS} -lXext -lX11
${CC} ${OBJS} -o ${NAME} ${LIBS} -lXext -lX11
clean:
rm -f OBJ
rm -f ${OBJS}
make -C libftx clean
make -C minilibx-linux clean