-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (27 loc) · 1.6 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
# **************************************************************************** #
# #
# ::: :::::::: #
# Makefile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: tschmitt <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2022/10/26 21:58:57 by tschmitt #+# #+# #
# Updated: 2022/10/26 22:17:17 by tschmitt ### ########.fr #
# #
# **************************************************************************** #
#####################################################
# Configure this to your ft_containers Directory #
# (with your .hpp files) #
FT_CONTAINERS_PATH = ../ft_containers/
# Configure this to the Type of the Containers #
TYPE = std::string
#####################################################
TESTER_DIR = ./tests
TESTER_BIN = $(TESTER_DIR)/containers_tester
INCFLAG := -I$(realpath $(FT_CONTAINERS_PATH))
TOP_TARGETS := all clean fclean re test help config_help config vector map set stack no_bench bench_info
$(TOP_TARGETS): $(TESTER_DIR)
$(TESTER_DIR):
$(MAKE) --no-print-directory -C $@ $(MAKECMDGOALS) INCFLAGS=$(INCFLAG) TYPE=-DTYPE=$(strip $(TYPE))
# @cp $(TESTER_BIN) $(notdir $(TESTER_BIN))
.PHONY: $(TOP_TARGETS) $(TESTER_DIR)