aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-01 14:17:04 +0100
committerCharles <sircharlesaze@gmail.com>2020-04-15 12:59:58 +0200
commitbe2676e56ae0c72321c60c4848ce720ccf095b26 (patch)
treede96e98403ea8740cea76d9081c932cbbf8edb44 /Makefile
parent7af930f2242f933f79dfbb4ddc84bfd532069556 (diff)
downloadft_containers-be2676e56ae0c72321c60c4848ce720ccf095b26.tar.gz
ft_containers-be2676e56ae0c72321c60c4848ce720ccf095b26.tar.bz2
ft_containers-be2676e56ae0c72321c60c4848ce720ccf095b26.zip
Remaking List, Removed include/, test/ and Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile45
1 files changed, 0 insertions, 45 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 26db30e..0000000
--- a/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-# **************************************************************************** #
-# #
-# ::: :::::::: #
-# Makefile :+: :+: :+: #
-# +:+ +:+ +:+ #
-# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
-# +#+#+#+#+#+ +#+ #
-# Created: 2020/02/01 09:48:56 by cacharle #+# #+# #
-# Updated: 2020/02/01 10:11:21 by cacharle ### ########.fr #
-# #
-# **************************************************************************** #
-
-RM = rm -f
-
-INCLUDE_DIR = include
-TEST_DIR = test
-OBJ_DIR = obj
-
-CC = clang++
-CCFLAGS = -I$(INCLUDE_DIR) -Wall -Wextra #-Werror
-
-INCLUDE = $(shell find $(INCLUDE_DIR) -type f -name "*.hpp")
-TEST_SRC = $(shell find $(TEST_DIR) -type f -name "*.cpp")
-OBJ = $(TEST_SRC:$(TEST_DIR)/%.cpp=$(OBJ_DIR)/%.o)
-
-NAME = ft_containers_test
-
-all: prebuild $(NAME)
-
-prebuild:
- if [ ! -d $(OBJ_DIR) ]; then mkdir $(OBJ_DIR); fi
-
-$(NAME): $(OBJ)
- $(CC) -o $@ $^
-
-$(OBJ_DIR)/%.o: $(TEST_DIR)/%.cpp $(INCLUDE)
- $(CC) $(CCFLAGS) -c -o $@ $<
-
-clean:
- $(RM) $(OBJ)
-
-fclean: clean
- $(RM) $(NAME)
-
-re: fclean all