aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c024768..2a22f24 100644
--- a/Makefile
+++ b/Makefile
@@ -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
#--------------------------------------------------------------------------------------------------#