diff options
author | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-01-27 20:07:45 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r5p2.le-101.fr> | 2020-01-27 20:07:45 +0100 |
commit | 4926713021c54cfb8f00a9a128998aa316f32f13 (patch) | |
tree | 52f7d04b453377b761161b785de4f3258e086831 /Makefile | |
parent | cool (diff) | |
download | 42-cub3d-4926713021c54cfb8f00a9a128998aa316f32f13.tar.gz 42-cub3d-4926713021c54cfb8f00a9a128998aa316f32f13.tar.bz2 42-cub3d-4926713021c54cfb8f00a9a128998aa316f32f13.tar.xz 42-cub3d-4926713021c54cfb8f00a9a128998aa316f32f13.tar.zst 42-cub3d-4926713021c54cfb8f00a9a128998aa316f32f13.zip |
Added new file, added -lm to Linux compilation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,6 +31,7 @@ SRCS_NAME += ft_check_empty_line.c SRCS_NAME += ft_free_words.c SRCS_NAME += ft_map_error.c SRCS_NAME += ft_init_winlx.c +SRCS_NAME += ft_drawmap.c SRCS_NAME += ft_print_list.c #------------------------------------------------------------------------------# SRCS = $(addprefix ${SRCS_DIR},${SRCS_NAME}) @@ -82,7 +83,7 @@ ifeq (${OS}, Darwin) ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm \ -framework OpenGL -framework AppKit else - ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx + ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx -lm endif #------------------------------------------------------------------------------# all: |