aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-01-24 16:51:34 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-01-24 16:51:34 +0100
commit090bda7406b0a3d1692624cf464dd46fb781d55f (patch)
treeadcb05fd965a98d1f4fda9a2cdf2168d103a5a80 /Makefile
parentIt ain't much but it's honest work (diff)
download42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.tar.gz
42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.tar.bz2
42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.tar.xz
42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.tar.zst
42-cub3d-090bda7406b0a3d1692624cf464dd46fb781d55f.zip
Key defines for compatibility between Linux/Darwin
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7d7045d..f52c084 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,9 @@ ${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR}${INCS}
ifeq (${OS}, Darwin)
${CC} -c ${CFLAGS} -I${LFT_DIR}${INCS_DIR} -I${MLX_DIR} -I${INCS_DIR} -o $@ $<
else
- ${CC} -c ${CFLAGS} -I${LFT_DIR}${INCS_DIR} -I${INCS_DIR} -o $@ $<
+ ${CC} -c ${CFLAGS} -I${LFT_DIR}${INCS_DIR} -I${INCS_DIR} \
+-DFT_W_KEY=119 -DFT_A_KEY=97 -DFT_S_KEY=115 -DFT_D_KEY=100 -DFT_ESC_KEY=65307 \
+-o $@ $<
endif
#------------------------------------------------------------------------------#
${NAME}: ${OBJS}