aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--Makefile2
-rw-r--r--map/map_one.cub2
2 files changed, 2 insertions, 2 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} \
\
diff --git a/map/map_one.cub b/map/map_one.cub
index d988c7a..6586085 100644
--- a/map/map_one.cub
+++ b/map/map_one.cub
@@ -1,4 +1,4 @@
-R 1200 600
+R 1200 100000
NO ./path_to_the_north_texture
SO ./path_to_the_south_texture