From fc2b440ce4d103ee234dfc0325635604b3048d97 Mon Sep 17 00:00:00 2001 From: Lukas Jiriste Date: Thu, 29 Feb 2024 10:38:34 +0100 Subject: [PATCH] Add subprojects' inc dir as compilation prerequisite This forces make to download the subproject headers that are necessary for compiling the source files to object files. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 037c673..554bc7d 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ else $(MAKE) -C Libft endif -%.o : %.c +%.o : %.c | $(SUBINCDIR) $(CC) $(CFLAGS) -o $@ -c $< $(INCLUDE) %/inc : -- 2.30.2