diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-26 22:46:16 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-26 22:46:16 +0300 |
| commit | b29c8bec16196b2e31a909e28c38cc8137f0760b (patch) | |
| tree | 94b9b4ef383eb8b0c93bc66dbf08fe5aa34cdd08 | |
| parent | 8ebdfdb2949af07219ea57b36352007b5f96d437 (diff) | |
| download | astar-b29c8bec16196b2e31a909e28c38cc8137f0760b.tar.xz | |
Use globbing in Makefile
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,10 +1,10 @@ CC=gcc EXECUTABLE=astar -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 +astar: *.c *.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 map.h stack.c stack.h config.h priority_queue.h priority_queue.c path.c path.h error.h structs.h +debug: *.c *.h $(CC) -Wall -g -o $(EXECUTABLE) priority_queue.c map.c stack.c path.c main.c -lncurses clean: |
