diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-13 18:57:05 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-13 18:57:05 +0100 |
commit | bfb30579f38695d48442912404f56d5ac3818342 (patch) | |
tree | dce3995e84800cc0777291ecd5bc20da26706b70 /Makefile | |
parent | gotta thread (diff) | |
download | 42-cub3d-bfb30579f38695d48442912404f56d5ac3818342.tar.gz 42-cub3d-bfb30579f38695d48442912404f56d5ac3818342.tar.bz2 42-cub3d-bfb30579f38695d48442912404f56d5ac3818342.tar.xz 42-cub3d-bfb30579f38695d48442912404f56d5ac3818342.tar.zst 42-cub3d-bfb30579f38695d48442912404f56d5ac3818342.zip |
I hate code
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} |