diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -178,6 +178,7 @@ CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -Werror CFLAGS += -pedantic +CFLAGS += -pthread #--------------------------------------------------------------------------------------------------# ifdef DEBUG CFLAGS += ${DBG} @@ -192,8 +193,10 @@ CDEFS = -D_DEFAULT_SOURCE CDEFS += -DFT_SCR_SIZE=\"${SCR_SZE}\" ifeq (${OS}, Darwin) CDEFS += -DFT_OS=1 -else +else ifeq (${OS}, Linux) CDEFS += -DFT_OS=2 +else + CDEFS += -DFT_OS=3 endif #--------------------------------------------------------------------------------------------------# NAME = Cub3D @@ -257,6 +260,7 @@ ifeq (${OS}, FreeBSD) endif ${RM} ${NAME} ${RM} ${NAME}.dSYM + ${RM} ${NAME}.core #--------------------------------------------------------------------------------------------------# re: fclean all #--------------------------------------------------------------------------------------------------# |