aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 19:44:47 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-02 19:44:47 +0100
commit888e9d30cbf4efde17ee337b9b97f1960bbd74a2 (patch)
tree68790739652458a8242074983d28c846ceb3cb77 /Makefile
parentMultilvl image leaks, rest is okok (diff)
download42-cub3d-888e9d30cbf4efde17ee337b9b97f1960bbd74a2.tar.gz
42-cub3d-888e9d30cbf4efde17ee337b9b97f1960bbd74a2.tar.bz2
42-cub3d-888e9d30cbf4efde17ee337b9b97f1960bbd74a2.tar.xz
42-cub3d-888e9d30cbf4efde17ee337b9b97f1960bbd74a2.tar.zst
42-cub3d-888e9d30cbf4efde17ee337b9b97f1960bbd74a2.zip
Music is pretty bav
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8f1b21c..5194aa6 100644
--- a/Makefile
+++ b/Makefile
@@ -144,8 +144,8 @@ 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 -framework OpenGL \
--framework AppKit
+ ${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 -lpthread
endif