From 461f71e2660e6286ffc757ca6b7077c70c80b6cf Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Fri, 10 May 2024 12:24:33 +0200 Subject: [PATCH] Update Include path --- Makefile | 4 ++-- include/so_long.h | 9 ++++----- 2 files changed, 6 insertions(+), 7 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." diff --git a/include/so_long.h b/include/so_long.h index b2bf7d7..7365a30 100644 --- a/include/so_long.h +++ b/include/so_long.h @@ -6,7 +6,7 @@ /* By: dkaiser