diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-15 16:54:12 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-15 16:54:12 +0200 |
commit | eff45a482b40ddb5857adce9f6740282b04ab4a2 (patch) | |
tree | 213399609d267cbb1b376161e0297d6ee709ab8f /Makefile | |
parent | Now BSD compliant (diff) | |
download | 42-cub3d-eff45a482b40ddb5857adce9f6740282b04ab4a2.tar.gz 42-cub3d-eff45a482b40ddb5857adce9f6740282b04ab4a2.tar.bz2 42-cub3d-eff45a482b40ddb5857adce9f6740282b04ab4a2.tar.xz 42-cub3d-eff45a482b40ddb5857adce9f6740282b04ab4a2.tar.zst 42-cub3d-eff45a482b40ddb5857adce9f6740282b04ab4a2.zip |
Pretty compliant but mutex problems
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 #--------------------------------------------------------------------------------------------------# |