From 9ac3a8e91c43e28b4e189749847130e09a193e9b Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Wed, 25 Mar 2026 14:42:22 +0300 Subject: Add all the files into the Makefile rules' requirements --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 47226b3..7ce769f 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ CC=gcc EXECUTABLE=astar -astar: main.c map.c stack.c config.h priority_queue.h priority_queue.c path.c +astar: main.c map.c map.h stack.c stack.h config.h priority_queue.h priority_queue.c path.c path.h error.h structs.h $(CC) -Wall -Wpedantic -Wextra -Werror -O3 -o $(EXECUTABLE) priority_queue.c map.c stack.c path.c main.c -lncurses -debug: main.c map.c stack.c config.h priority_queue.h priority_queue.c path.c +debug: main.c map.c map.h stack.c stack.h config.h priority_queue.h priority_queue.c path.c path.h error.h structs.h $(CC) -Wall -g -o $(EXECUTABLE) priority_queue.c map.c stack.c path.c main.c -lncurses clean: -- cgit v1.2.3