aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-10 20:12:17 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-02-10 20:12:17 +0100
commit57f949a95ad9e3c7c3c8dc17d45290aa887df6f1 (patch)
tree42ad4852285df1e07da7153f2b70a0fb4120d853 /Makefile
parentchanges (diff)
download42-cub3d-57f949a95ad9e3c7c3c8dc17d45290aa887df6f1.tar.gz
42-cub3d-57f949a95ad9e3c7c3c8dc17d45290aa887df6f1.tar.bz2
42-cub3d-57f949a95ad9e3c7c3c8dc17d45290aa887df6f1.tar.xz
42-cub3d-57f949a95ad9e3c7c3c8dc17d45290aa887df6f1.tar.zst
42-cub3d-57f949a95ad9e3c7c3c8dc17d45290aa887df6f1.zip
Better Makefile
Diffstat (limited to '')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e7bebbd..d13510f 100644
--- a/Makefile
+++ b/Makefile
@@ -93,7 +93,7 @@ endif
${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR}${INCS}
@${MKDIR} ${OBJS_DIR}
ifeq (${OS}, Darwin)
- ${CC} -c ${CFLAGS} -I${LFT_DIR}${INCS_DIR} -I${MLX_DIR} -I${INCS_DIR} -o $@ $<
+ ${CC} -c ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${MLX_DIR} -I${INCS_DIR} -o $@ $<
else
${CC} -c ${CFLAGS} -I${LFT_DIR}${INCS_DIR} -I${INCS_DIR} \
\