improve gexit with init function and add basic mlx image gestion

This commit is contained in:
Hugo LAMY
2022-03-25 18:49:06 +01:00
parent 3a1036ccdc
commit 02b5d88ea5
45 changed files with 139 additions and 7042 deletions

View File

@@ -18,6 +18,8 @@ D_SRCS = srcs \
srcs/mem
SRCS = cube3d.c \
\
g_alloc_free_exit.c \
\
init_struct.c \
init_parsing.c \
@@ -26,7 +28,7 @@ SRCS = cube3d.c \
key_do_action.c \
key_is_action_1.c \
\
free_exit.c
draw.c
# headers
D_HEADERS = headers
@@ -44,7 +46,7 @@ D_LFT = $(D_LIB)/libft
ifeq (${OS}, Linux)
D_LMLX = $(D_LIB)/minilibx-linux
else
D_LMLX = $(D_LIB)/minilibx-linux
D_LMLX = $(D_LIB)/minilibx-macos
endif
# objects