aboutsummaryrefslogtreecommitdiff
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 5eff874..0b0fb84 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
CC=gcc
EXECUTABLE=astar
-astar: main.c map.c stack.c config.h
+astar: main.c map.c stack.c config.h priority_queue.h priority_queue.c
$(CC) -Wall -Wpedantic -Wextra -Werror -O3 -o $(EXECUTABLE) priority_queue.c map.c stack.c main.c -lncurses
-debug: main.c map.c stack.c config.h
+debug: main.c map.c stack.c config.h priority_queue.h priority_queue.c
$(CC) -Wall -g -o $(EXECUTABLE) priority_queue.c map.c stack.c main.c -lncurses
clean: