aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-06 15:57:29 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-10-06 15:57:29 +0200
commit54394620893f7245c7697a57d724d430d06b57d1 (patch)
tree8e51b671bcb2cdba4306165eaba39cc1f99f1cf4 /Makefile
parent930bb63605984abeda8c887a6333109c004d3b00 (diff)
downloadminishell-54394620893f7245c7697a57d724d430d06b57d1.tar.gz
minishell-54394620893f7245c7697a57d724d430d06b57d1.tar.bz2
minishell-54394620893f7245c7697a57d724d430d06b57d1.zip
Added pipeline ast and pipeline evaluation (not working when first command is infinite)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1ea268f..0aabc5a 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/02/03 04:14:24 by cacharle #+# #+# #
-# Updated: 2020/09/14 19:10:10 by charles ### ########.fr #
+# Updated: 2020/10/02 12:52:19 by cacharle ### ########.fr #
# #
# **************************************************************************** #
@@ -25,7 +25,8 @@ OBJDIRS = $(shell find $(SRCDIR) -type d | sed 's/src/$(OBJDIR)/')
INCLUDE = $(shell find $(INCLUDEDIR) -name "*.h")
-SRC = $(shell find $(SRCDIR) -name "*.c")
+SRC = $(shell find $(SRCDIR) -type f -name "*.c")
+
OBJ = $(SRC:$(SRCDIR)/%.c=$(OBJDIR)/%.o)