aboutsummaryrefslogtreecommitdiff
path: root/test_mini/libft/vendor/_unity/Makefile
diff options
context:
space:
mode:
authornass1pro <nass1pro@gmail.com>2020-06-09 19:48:34 +0200
committernass1pro <nass1pro@gmail.com>2020-06-13 11:31:00 +0200
commit579a26f5593039ffbbd1a81e45ecf0ef8797cb5d (patch)
treec5b6761db98e27d15bab3fb45ba9e0a646cf06e0 /test_mini/libft/vendor/_unity/Makefile
parent9fabc25a980550afc6337fd729632462f2680daa (diff)
downloadminishell-579a26f5593039ffbbd1a81e45ecf0ef8797cb5d.tar.gz
minishell-579a26f5593039ffbbd1a81e45ecf0ef8797cb5d.tar.bz2
minishell-579a26f5593039ffbbd1a81e45ecf0ef8797cb5d.zip
add lexer
add single quote
Diffstat (limited to 'test_mini/libft/vendor/_unity/Makefile')
-rw-r--r--test_mini/libft/vendor/_unity/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/test_mini/libft/vendor/_unity/Makefile b/test_mini/libft/vendor/_unity/Makefile
new file mode 100644
index 0000000..d9700ea
--- /dev/null
+++ b/test_mini/libft/vendor/_unity/Makefile
@@ -0,0 +1,41 @@
+# **************************************************************************** #
+# #
+# ::: :::::::: #
+# Makefile :+: :+: :+: #
+# +:+ +:+ +:+ #
+# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
+# +#+#+#+#+#+ +#+ #
+# Created: 2020/01/31 07:27:12 by cacharle #+# #+# #
+# Updated: 2020/01/31 08:39:24 by cacharle ### ########.fr #
+# #
+# **************************************************************************** #
+
+CC = gcc
+CCFLAGS = -Iinclude -Wall -Wextra -Werror
+
+NAME = libunity.a
+
+INCLUDE = $(shell find include -type f -name "*.h")
+SRC = $(shell find src -type f -name "*.c")
+OBJ = $(SRC:.c=.o)
+
+.PHONY: all
+all: $(NAME)
+
+$(NAME): $(OBJ)
+ @echo "Unity: Linking: $@"
+ @ar rcs $@ $^
+
+%.o: %.c $(INCLUDE)
+ @echo "Unity: Compiling: $@"
+ @$(CC) $(CCFLAGS) -c -o $@ $<
+
+clean:
+ @echo "Unity: Removing objects"
+ @rm -f $(OBJ)
+
+fclean: clean
+ @echo "Unity: Removing: $(NAME)"
+ @rm -f $(NAME)
+
+re: fclean all