diff options
author | Rudy Bousset <rbousset@z2r5p1.le-101.fr> | 2020-03-04 20:27:51 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p1.le-101.fr> | 2020-03-04 20:27:51 +0100 |
commit | 073aca54bf8e3a20eba04cb4c26dc35ec43785e7 (patch) | |
tree | 77d22ad3456917af18f83c6a453850eb39674433 /Makefile | |
parent | Correct (diff) | |
download | 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.gz 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.bz2 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.xz 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.tar.zst 42-cub3d-073aca54bf8e3a20eba04cb4c26dc35ec43785e7.zip |
Music on macOS is half bav
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -129,7 +129,7 @@ endif ${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR} @${MKDIR} ${OBJS_DIR} ifeq (${OS}, Darwin) - ${CC} -c ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${MLX_DIR} -I${INCS_DIR} -o $@ $< + ${CC} -c -pthread ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${MLX_DIR} -I${INCS_DIR} -o $@ $< else ${CC} -c -pthread ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${INCS_DIR} -o $@ $< endif @@ -147,10 +147,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 -lpthread \ + ${CC} -pthread ${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 + ${CC} -pthread ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd -lpthread endif #--------------------------------------------------------------------------------------------------# all: ${NAME} @@ -170,7 +170,7 @@ fclean: clean re: fclean all #--------------------------------------------------------------------------------------------------# run: all - @./${NAME} "map/map_five.cub" + @./${NAME} "map/lvl_one.cub" #--------------------------------------------------------------------------------------------------# .PHONY: all clean clean fclean re run default #============================================== EOF ===============================================# |