aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 20:24:41 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 20:24:41 +0100
commit5f6f71bb7ac70fc7b66157aa52241cc34dc79da3 (patch)
tree54794333d429875a320b46e6bc76602e14cd543c /Makefile
parentI actually need to thread (diff)
download42-cub3d-5f6f71bb7ac70fc7b66157aa52241cc34dc79da3.tar.gz
42-cub3d-5f6f71bb7ac70fc7b66157aa52241cc34dc79da3.tar.bz2
42-cub3d-5f6f71bb7ac70fc7b66157aa52241cc34dc79da3.tar.xz
42-cub3d-5f6f71bb7ac70fc7b66157aa52241cc34dc79da3.tar.zst
42-cub3d-5f6f71bb7ac70fc7b66157aa52241cc34dc79da3.zip
Fuck threads and forks
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e27b411..7c24e8b 100644
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,6 @@ CFLAGS += -Wall
CFLAGS += -Wextra
CFLAGS += -Werror
CFLAGS += -pedantic
-CFLAGS += -pthread
#--------------------------------------------------------------------------------------------------#
ifdef ASAN
CFLAGS += ${DEBUG}
@@ -164,10 +163,10 @@ else
@$(MAKE) --no-print-directory -C ${LFT_DIR} all
endif
ifeq (${OS}, Darwin)
- ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm -lpthread \
+ ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -L${MLX_DIR} -lft -lmlx -lm \
-framework OpenGL -framework AppKit
else
- ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd -lpthread
+ ${CC} ${CFLAGS} -o $@ ${OBJS} -L${LFT_DIR} -lft -lX11 -lXext -lmlx -lm -lbsd
endif
#--------------------------------------------------------------------------------------------------#
all: ${NAME}