fix complie chain x3
This commit is contained in:
parent
b4c6cc3bd1
commit
e53ec01f97
4 changed files with 4 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -48,7 +48,7 @@ MLX_FOLDER = ./minilibx/
|
|||
|
||||
FLAGS = -Werror -Wextra -Wall
|
||||
|
||||
CC = clang
|
||||
CC = gcc
|
||||
|
||||
|
||||
all: $(NAME)
|
||||
|
@ -79,3 +79,5 @@ libfclean:
|
|||
make fclean -C $(LIBFT_FOLDER)
|
||||
|
||||
re: fclean libfclean all
|
||||
|
||||
pub: fclean libfclean libclean
|
||||
|
|
|
@ -82,7 +82,7 @@ SRC = ft_memset.c \
|
|||
|
||||
OBJ = $(SRC:.c=.o)
|
||||
INC = -I ./includes/
|
||||
CC = clang
|
||||
CC = gcc
|
||||
FLAGS = -Werror -Wextra -Wall
|
||||
|
||||
all: $(NAME)
|
||||
|
|
Binary file not shown.
|
@ -27,7 +27,6 @@
|
|||
#include <sys/shm.h>
|
||||
#include <X11/extensions/XShm.h>
|
||||
/* #include <X11/xpm.h> */
|
||||
#include <bsd/string.h>
|
||||
|
||||
#define MLX_TYPE_SHM_PIXMAP 3
|
||||
#define MLX_TYPE_SHM 2
|
||||
|
|
Loading…
Add table
Reference in a new issue