diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-01-23 15:40:55 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-01-23 15:40:55 +0100 |
commit | 9b431298d0346ce2a181771e9cc78b83c97737f1 (patch) | |
tree | 268d5d29b307bccc1611b4180035e9ccc23edb90 /Makefile | |
parent | Added back minilibx, added gitignore (diff) | |
download | 42-cub3d-9b431298d0346ce2a181771e9cc78b83c97737f1.tar.gz 42-cub3d-9b431298d0346ce2a181771e9cc78b83c97737f1.tar.bz2 42-cub3d-9b431298d0346ce2a181771e9cc78b83c97737f1.tar.xz 42-cub3d-9b431298d0346ce2a181771e9cc78b83c97737f1.tar.zst 42-cub3d-9b431298d0346ce2a181771e9cc78b83c97737f1.zip |
Renamed minilibx to mlx
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -10,7 +10,7 @@ INCS_DIR = inc/ SRCS_DIR = src/ OBJS_DIR = obj/ LFT_DIR = libft/ -MLX_DIR = minilibx/ +MLX_DIR = libmlx/ #==============================================================================# #--------------------------------- Files --------------------------------------# #==============================================================================# @@ -49,10 +49,11 @@ RM = rm -rf #==============================================================================# ${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR}${INCS} @${MKDIR} ${OBJS_DIR} - ${CC} -c ${CFLAGS} -I${LFT_DIR}${INCS_DIR} -I${INCS_DIR} -o $@ $< + ${CC} -c ${CFLAGS} -I${LFT_DIR}${INCS_DIR} -I${MLX_DIR} \ +-I${INCS_DIR} -o $@ $< #------------------------------------------------------------------------------# ${NAME}: ${OBJS} - ${CC} ${CFLAGS} -o $@ $< -L${LFT_DIR} -lft + ${CC} ${CFLAGS} -o $@ $< -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm #------------------------------------------------------------------------------# all: @$(MAKE) --no-print-directory -C ${MLX_DIR} all @@ -72,6 +73,7 @@ fclean: clean @$(MAKE) --no-print-directory -C ${MLX_DIR} clean @$(MAKE) --no-print-directory -C ${LFT_DIR} fclean ${RM} ${NAME} + ${RM} ${NAME}.dSYM #------------------------------------------------------------------------------# re: fclean all #------------------------------------------------------------------------------# |