From 73441ded578b4e315f150e7bc19c61641a10f21b Mon Sep 17 00:00:00 2001 From: Lukas Jiriste Date: Thu, 4 Apr 2024 08:39:08 +0200 Subject: [PATCH] Add minilibx as dependency to *.o compilation This is done to make sure that mlx.h is present so that any file including it compiles succesfully. --- solution/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solution/Makefile b/solution/Makefile index eeffa85..f32afbb 100644 --- a/solution/Makefile +++ b/solution/Makefile @@ -40,7 +40,7 @@ endif minilibx-linux/libmlx.a : | minilibx-linux/Makefile $(MAKE) -C minilibx-linux -%.o : %.c | Libft/Makefile +%.o : %.c | Libft/Makefile minilibx-linux/Makefile $(CC) $(CFLAGS) -o $@ -c $< $(INCLUDE) %/Makefile : -- 2.30.2