blob: 7ce769f88aa2b450bb1fe21c0626c41076ff9ef9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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
$(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
$(CC) -Wall -g -o $(EXECUTABLE) priority_queue.c map.c stack.c path.c main.c -lncurses
clean:
rm ./$(EXECUTABLE)
|