-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshared_val.mk
29 lines (25 loc) · 1.31 KB
/
shared_val.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# **************************************************************************** #
# #
# ::: :::::::: #
# shared_val.mk :+: :+: :+: #
# +:+ +:+ +:+ #
# By: crfernan <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/09/25 15:20:56 by crfernan #+# #+# #
# Updated: 2019/11/05 12:05:54 by crfernan ### ########.fr #
# #
# **************************************************************************** #
CHECK_SHARED_VAL := 1
SHARE_SRC_DIR := src
SHARE_OBJ_DIR := obj
SHARE_INC_DIR := includes
vpath %.c $(SHARE_SRC_DIR)
vpath %.h $(SHARE_INC_DIR)
vpath %.o $(SHARE_OBJ_DIR)
SHARE_FLAGS := -Wall -Wextra -Werror
# OPTI_FLAGS :=
OPTI_FLAGS := -O3 -ffreestanding -fno-builtin -flto
SHARE_FLAGS += -I $(SHARE_INC_DIR) \
-I $(addprefix ../,$(SHARE_INC_DIR)) \
-I $(addprefix ../libft/,$(SHARE_INC_DIR))
SHARE_DEBUG := -g3