aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-03-10 18:59:23 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-03-10 18:59:23 +0300
commitfe40ce26ec975c2e2f89409913321064a7876d5c (patch)
tree143eccd14ef8270cf102aaf658abfadbe5f532dd /Makefile
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a8d80e2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+CC=gcc
+EXECUTABLE=astar
+
+astar: main.c map.c
+ $(CC) -Wall -Wpedantic -Wextra -Werror -O3 -o $(EXECUTABLE) map.c main.c -lncurses
+
+debug: main.c map.c
+ $(CC) -Wall -g -o $(EXECUTABLE) map.c main.c -lncurses
+
+clean:
+ rm ./$(EXECUTABLE)