summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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."