-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibft.mk
32 lines (26 loc) · 1.23 KB
/
libft.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
30
31
32
# **************************************************************************** #
# #
# ::: :::::::: #
# libft.mk :+: :+: :+: #
# +:+ +:+ +:+ #
# By: pbondoer <pbondoer@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2016/12/31 05:24:55 by pbondoer #+# #+# #
# Updated: 2017/02/08 01:47:18 by pbondoer ### ########.fr #
# #
# **************************************************************************** #
# Base variables for libft
# Use with 'include /path/to/libft.mk'
# Make sure to define L_FT with path to libft first
L_FT ?= .
FT_NAME := libft.a
FT_LNK := -L $(L_FT) -l ft
FT_INC := -I $(L_FT)/includes
FT_LIB := $(L_FT)/$(FT_NAME)
# Global variables for compilation
ifndef LIB_LNK
LIB_LNK :=
LIB_INC :=
endif
LIB_LNK += $(FT_LNK)
LIB_INC += $(FT_INC)