This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (35 loc) · 1.44 KB
/
Makefile
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
33
34
35
36
37
38
39
40
41
42
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: jgo <jgo@student.42seoul.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/11/23 13:49:09 by jgo #+# #+# #
# Updated: 2023/07/17 12:10:10 by jgo ### ########.fr #
# #
# **************************************************************************** #
ifndef TOPDIR
TOPDIR := $(abspath ../)
endif
include $(TOPDIR)/make_config/com/Color.mk
include $(TOPDIR)/make_config/com/Flags.mk
include $(TOPDIR)/make_config/com/Funcs.mk
include $(TOPDIR)/make_config/lib/Rules.mk
CPPFLAGS := -I$(TOPDIR)/includes
NAME := libftprintf.a
HEAD := ft_printf.h
SRCS := ft_printf.c \
ft_printf_c.c \
ft_printf_d.c \
ft_printf_p.c \
ft_printf_s.c \
ft_printf_u.c \
ft_printf_x.c \
ft_putchar.c \
ft_putstr.c \
utils.c
OBJS := $(SRCS:.c=.o)
DEPS := $(SRCS:.c=.d)
-include $(DEPS)
include $(TOPDIR)/make_config/lib/SubLibsRecipes.mk