diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-24 14:19:01 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-24 14:19:01 +0200 |
commit | 492793f711298d159546b3e118b172983bffb0d9 (patch) | |
tree | 319951004c648714941ac106a8be796e97fbcbf7 | |
parent | reverted Makefile (diff) | |
download | 42-cub3d-492793f711298d159546b3e118b172983bffb0d9.tar.gz 42-cub3d-492793f711298d159546b3e118b172983bffb0d9.tar.bz2 42-cub3d-492793f711298d159546b3e118b172983bffb0d9.tar.xz 42-cub3d-492793f711298d159546b3e118b172983bffb0d9.tar.zst 42-cub3d-492793f711298d159546b3e118b172983bffb0d9.zip |
Makefile compliant with vm
-rw-r--r-- | Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -227,14 +227,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 -lpthread \ --framework OpenGL -framework AppKit + ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm -lpthread -framework OpenGL -framework AppKit else ifeq (${OS}, Linux) - ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_GNU_DIR} \ --lft -lX11 -lXext -lmlx -lm -lbsd -lpthread + ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -L${MLX_GNU_DIR} -lmlx -L/usr/lib -lX11 -lXext -lm -lbsd -lpthread else - ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_BSD_DIR} -L/usr/local/lib \ --lft -lX11 -lXext -lmlx -lm -lpthread + ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_BSD_DIR} -L/usr/local/lib -lft -lX11 -lXext -lmlx -lm -lpthread endif #--------------------------------------------------------------------------------------------------# all: ${NAME} |