aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 15d76b3..38fbeca 100644
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,8 @@ ${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR}${INCS}
-I${INCS_DIR} -o $@ $<
#------------------------------------------------------------------------------#
${NAME}: ${OBJS}
- ${CC} ${CFLAGS} -o $@ $< -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm
+ ${CC} ${CFLAGS} -o $@ $< -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm \
+-framework OpenGL -framework AppKit
#------------------------------------------------------------------------------#
all:
@$(MAKE) --no-print-directory -C ${MLX_DIR} all