projects
/
Digiteq.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d1d7ae
)
Add minilibx as dependency to *.o compilation
author
Lukas Jiriste
<ljiriste@student.42prague.com>
Thu, 4 Apr 2024 06:39:08 +0000
(08:39 +0200)
committer
Lukas Jiriste
<ljiriste@student.42prague.com>
Thu, 4 Apr 2024 06:39:08 +0000
(08:39 +0200)
This is done to make sure that mlx.h is present so that any file
including it compiles succesfully.
solution/Makefile
patch
|
blob
|
history
diff --git
a/solution/Makefile
b/solution/Makefile
index eeffa85f7d7756f01b4d74c85e72cc42138c52d8..f32afbb791e055039ec4ef232ce9c37b2154a172 100644
(file)
--- 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 :