fix complie chain x3

This commit is contained in:
fotonmoton 2017-02-12 23:20:32 +02:00
parent b4c6cc3bd1
commit e53ec01f97
4 changed files with 4 additions and 3 deletions

View file

@ -48,7 +48,7 @@ MLX_FOLDER = ./minilibx/
FLAGS = -Werror -Wextra -Wall FLAGS = -Werror -Wextra -Wall
CC = clang CC = gcc
all: $(NAME) all: $(NAME)
@ -79,3 +79,5 @@ libfclean:
make fclean -C $(LIBFT_FOLDER) make fclean -C $(LIBFT_FOLDER)
re: fclean libfclean all re: fclean libfclean all
pub: fclean libfclean libclean

View file

@ -82,7 +82,7 @@ SRC = ft_memset.c \
OBJ = $(SRC:.c=.o) OBJ = $(SRC:.c=.o)
INC = -I ./includes/ INC = -I ./includes/
CC = clang CC = gcc
FLAGS = -Werror -Wextra -Wall FLAGS = -Werror -Wextra -Wall
all: $(NAME) all: $(NAME)

Binary file not shown.

View file

@ -27,7 +27,6 @@
#include <sys/shm.h> #include <sys/shm.h>
#include <X11/extensions/XShm.h> #include <X11/extensions/XShm.h>
/* #include <X11/xpm.h> */ /* #include <X11/xpm.h> */
#include <bsd/string.h>
#define MLX_TYPE_SHM_PIXMAP 3 #define MLX_TYPE_SHM_PIXMAP 3
#define MLX_TYPE_SHM 2 #define MLX_TYPE_SHM 2