diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-24 16:51:34 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-01-24 16:51:34 +0100 |
commit | 090bda7406b0a3d1692624cf464dd46fb781d55f (patch) | |
tree | adcb05fd965a98d1f4fda9a2cdf2168d103a5a80 /Makefile | |
parent | It ain't much but it's honest work (diff) | |
download | 42-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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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} |