aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9a5fb36..6805531 100644
--- a/Makefile
+++ b/Makefile
@@ -93,8 +93,10 @@ SRCS_NAME += ft_draw_life_bar.c
SRCS_NAME += ft_del_extra_sprites.c
SRCS_NAME += ft_init_sfx.c
SRCS_NAME += ft_sfx_death.c
-SRCS_NAME += ft_sfx_trap.c
+SRCS_NAME += ft_sfx_footstep.c
SRCS_NAME += ft_sfx_new_level.c
+SRCS_NAME += ft_sfx_pain.c
+SRCS_NAME += ft_sfx_trap.c
SRCS_NAME += ft_death_screen.c
SRCS_NAME += ft_death_hooks.c
#--------------------------------------------------------------------------------------------------#
@@ -171,10 +173,11 @@ 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} -L${MLX_GNU_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd
+ ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_GNU_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd \
+-lpthread
endif
#--------------------------------------------------------------------------------------------------#
all: ${NAME}