summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDominik Kaiser2024-05-10 12:24:33 +0200
committerDominik Kaiser2024-05-10 12:24:33 +0200
commit461f71e2660e6286ffc757ca6b7077c70c80b6cf (patch)
tree4a65d2387c6964ee9357d1ad17e7f9f5094ee99e /Makefile
parent7e992a69a2031f630f1e30b0d864c0e4e7d32067 (diff)
downloadso_long-461f71e2660e6286ffc757ca6b7077c70c80b6cf.tar.gz
so_long-461f71e2660e6286ffc757ca6b7077c70c80b6cf.zip
Update Include path
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d851d7b..4ce3ecf 100644
--- a/Makefile
+++ b/Makefile
@@ -12,9 +12,9 @@ OBJ_DIR := obj
OBJ := $(addprefix $(OBJ_DIR)/, $(SRC:%.c=%.o))
-all: $(NAME)
+all: libmlx $(NAME)
-$(NAME): $(OBJ) | libft libmlx
+$(NAME): $(OBJ) | libft
@$(CC) $(CFLAGS) $(HEADERS) $^ -o $@ $(LIBS)
@echo "[$(NAME)] Created binary."