aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-03-25 14:42:22 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-03-25 14:42:22 +0300
commit9ac3a8e91c43e28b4e189749847130e09a193e9b (patch)
tree19146115ab0cb28371b0195cd52c2d89885a2304 /Makefile
parentd0fa196751879965f6fb3a7426801ee66b434654 (diff)
downloadastar-9ac3a8e91c43e28b4e189749847130e09a193e9b.tar.xz
Add all the files into the Makefile rules' requirements
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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: