diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-13 23:12:32 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-02-13 23:12:32 +0100 |
commit | 97c08dd3043ee55724bba86c46804fd78a319df6 (patch) | |
tree | 3e033363a59ba28cdcc3e449e2e2f455ba1a9605 /Makefile | |
parent | In progress (diff) | |
download | 42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.gz 42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.bz2 42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.xz 42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.tar.zst 42-cub3d-97c08dd3043ee55724bba86c46804fd78a319df6.zip |
Colors
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -79,11 +79,12 @@ ifdef ASAN CFLAGS += ${FSANITIZE} endif CDEFS = -DFT_SCR_SIZE=\"${SCR_SZE}\" -ifeq (${OS}, Linux) +ifneq (${OS}, Darwin) CDEFS += -DFT_W_KEY=119 CDEFS += -DFT_A_KEY=97 CDEFS += -DFT_S_KEY=115 CDEFS += -DFT_D_KEY=100 + CDEFS += -DFT_F1_KEY=65470 CDEFS += -DFT_ESC_KEY=65307 endif #------------------------------------------------------------------------------# @@ -103,7 +104,7 @@ ${OBJS_DIR}%.o: ${SRCS_DIR}%.c ${INCS_DIR} ifeq (${OS}, Darwin) ${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} \ + ${CC} -c ${CFLAGS} ${CDEFS} -I${LFT_DIR}${INCS_DIR} -I${INCS_DIR} \ \ -o $@ $< endif |