diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-13 19:50:46 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-13 19:50:46 +0100 |
commit | c58517b56574ad6e32d88ebab5bcbfa2da543808 (patch) | |
tree | 84371cd4ac3f5c6e571138e5c8714116919d3181 /Makefile | |
parent | Gotta figure out (diff) | |
download | 42-cub3d-c58517b56574ad6e32d88ebab5bcbfa2da543808.tar.gz 42-cub3d-c58517b56574ad6e32d88ebab5bcbfa2da543808.tar.bz2 42-cub3d-c58517b56574ad6e32d88ebab5bcbfa2da543808.tar.xz 42-cub3d-c58517b56574ad6e32d88ebab5bcbfa2da543808.tar.zst 42-cub3d-c58517b56574ad6e32d88ebab5bcbfa2da543808.zip |
I actually need to thread
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -127,6 +127,7 @@ CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -Werror CFLAGS += -pedantic +CFLAGS += -pthread #--------------------------------------------------------------------------------------------------# ifdef ASAN CFLAGS += ${DEBUG} @@ -163,10 +164,10 @@ else @$(MAKE) --no-print-directory -C ${LFT_DIR} all endif ifeq (${OS}, Darwin) - ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm \ + ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm -lpthread \ -framework OpenGL -framework AppKit else - ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd + ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd -lpthread endif #--------------------------------------------------------------------------------------------------# all: ${NAME} |