From eff45a482b40ddb5857adce9f6740282b04ab4a2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 15 Apr 2020 16:54:12 +0200 Subject: Pretty compliant but mutex problems --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 #--------------------------------------------------------------------------------------------------# -- cgit v1.2.3