-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (26 loc) · 1.39 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: eschirni <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2021/09/07 20:20:09 by eschirni #+# #+# #
# Updated: 2021/09/13 20:26:52 by eschirni ### ########.fr #
# #
# **************************************************************************** #
all:
@cd ft_printf && make all
@gcc -Wall -Wextra -Werror src/server.c ft_printf/libftprintf.a -o server
@gcc -Wall -Wextra -Werror src/client.c ft_printf/libftprintf.a -o client
clean:
@cd ft_printf && make clean
@rm -f server
@rm -f client
fclean: clean
@cd ft_printf && make fclean
re: fclean all
bonus: fclean
@cd ft_printf && make all
@gcc -Wall -Wextra -Werror "bonus src/server_bonus.c" ft_printf/libftprintf.a -o server
@gcc -Wall -Wextra -Werror "bonus src/client_bonus.c" ft_printf/libftprintf.a -o client