diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 26 |
1 files changed, 15 insertions, 11 deletions
@@ -117,18 +117,22 @@ ifdef OPTI endif #--------------------------------------------------------------------------------------------------# CDEFS = -DFT_SCR_SIZE=\"${SCR_SZE}\" -CDEFS += -DFT_OS=\"${OS}\" -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_TAB_KEY=65289 - CDEFS += -DFT_L_ARR_KEY=65361 - CDEFS += -DFT_R_ARR_KEY=65363 - CDEFS += -DFT_ESC_KEY=65307 +ifeq (${OS}, Darwin) + CDEFS += -DFT_OS=1 +else + CDEFS += -DFT_OS=2 endif +# 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_TAB_KEY=65289 +# CDEFS += -DFT_L_ARR_KEY=65361 +# CDEFS += -DFT_R_ARR_KEY=65363 +# CDEFS += -DFT_ESC_KEY=65307 +# endif #--------------------------------------------------------------------------------------------------# ifeq (${OS}, Darwin) NAME = Cub3D |