diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 16:09:57 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 16:09:57 +0100 |
commit | 48ccff3d712a2b30de8b94a5688afae7ee91a1c6 (patch) | |
tree | b21d77ba9be46b0ad4f5341487359cd2befa6e58 /Makefile | |
parent | Music is bav but can't kill (diff) | |
download | 42-cub3d-48ccff3d712a2b30de8b94a5688afae7ee91a1c6.tar.gz 42-cub3d-48ccff3d712a2b30de8b94a5688afae7ee91a1c6.tar.bz2 42-cub3d-48ccff3d712a2b30de8b94a5688afae7ee91a1c6.tar.xz 42-cub3d-48ccff3d712a2b30de8b94a5688afae7ee91a1c6.tar.zst 42-cub3d-48ccff3d712a2b30de8b94a5688afae7ee91a1c6.zip |
YES
Diffstat (limited to '')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,7 +128,7 @@ ${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR} ifeq (${OS}, Darwin) ${CC} -c ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${MLX_DIR} -I${INCS_DIR} -o $@ $< else - ${CC} -c ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${INCS_DIR} -o $@ $< + ${CC} -c -pthread ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${INCS_DIR} -o $@ $< endif #--------------------------------------------------------------------------------------------------# ${NAME}: ${OBJS} ${LFT_SRCS} ${LFT_DIR}${INCS_DIR}libft.h @@ -147,7 +147,7 @@ ifeq (${OS}, Darwin) ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm -framework OpenGL \ -framework AppKit else - ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd -pthread + ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd -lpthread endif #--------------------------------------------------------------------------------------------------# all: ${NAME} |