diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-14 23:27:54 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-14 23:27:54 +0100 |
commit | 59ea94739fe5205f29e75ceff97156607868e3d0 (patch) | |
tree | b7fe09f1a94b110e6fba4bcffc20bf2c921c8400 /Makefile | |
parent | Tweaked shadows (diff) | |
download | 42-cub3d-59ea94739fe5205f29e75ceff97156607868e3d0.tar.gz 42-cub3d-59ea94739fe5205f29e75ceff97156607868e3d0.tar.bz2 42-cub3d-59ea94739fe5205f29e75ceff97156607868e3d0.tar.xz 42-cub3d-59ea94739fe5205f29e75ceff97156607868e3d0.tar.zst 42-cub3d-59ea94739fe5205f29e75ceff97156607868e3d0.zip |
Looks like I have to pthread this shit
Diffstat (limited to '')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -128,6 +128,7 @@ CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -Werror CFLAGS += -pedantic +CFLAGS += -pthread #--------------------------------------------------------------------------------------------------# ifdef ASAN CFLAGS += ${DEBUG} @@ -164,10 +165,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} |