aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 47226b3b9f7ab19b393d9155942e9470a766a0c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
CC=gcc
EXECUTABLE=astar

astar: main.c map.c stack.c config.h priority_queue.h priority_queue.c path.c
	$(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
	$(CC) -Wall -g -o $(EXECUTABLE) priority_queue.c map.c stack.c path.c main.c -lncurses

clean: 
	rm ./$(EXECUTABLE)