aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-06-09 10:59:59 +0200
committerCharles <sircharlesaze@gmail.com>2020-06-09 10:59:59 +0200
commit82f1e954590de21f6db9b1b6e3dba78a951bc319 (patch)
tree895cc684345fff6871b2a933d98e9072bc6611f1 /Makefile
parentc16cf5fcc4a421608bf3c291ef84a79b7dbe7591 (diff)
downloadminishell-82f1e954590de21f6db9b1b6e3dba78a951bc319.tar.gz
minishell-82f1e954590de21f6db9b1b6e3dba78a951bc319.tar.bz2
minishell-82f1e954590de21f6db9b1b6e3dba78a951bc319.zip
Added make with multiple jobs and making merge compile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f3bfbd5..d726b69 100644
--- a/Makefile
+++ b/Makefile
@@ -6,12 +6,13 @@
# By: cacharle <marvin@42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/02/03 04:14:24 by cacharle #+# #+# #
-# Updated: 2020/04/03 13:50:17 by charles ### ########.fr #
+# Updated: 2020/06/09 10:51:41 by charles ### ########.fr #
# #
# **************************************************************************** #
RM = rm -f
-MAKE = make
+MAKE = make --no-print-directory
+JOBS = 4
DOXYGEN = doxygen
DOXYGEN_FILE = Doxyfile
DOC_DIR = doc
@@ -37,7 +38,11 @@ LDFLAGS = -L$(LIBFTDIR) -lft
NAME = minishell
.PHONY: all
-all: libft_all prebuild $(NAME)
+all: libft_all prebuild
+ @$(MAKE) -j$(JOBS) allnopre
+
+.PHONY: allnopre
+allnopre: $(NAME)
.PHONY: test
test: