diff options
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | bmp.c | 2 | ||||
| -rw-r--r-- | main.c | 2 | ||||
| -rw-r--r-- | path.c | 1 |
4 files changed, 2 insertions, 7 deletions
@@ -2,10 +2,10 @@ CC=gcc EXECUTABLE=astar astar: *.c *.h - $(CC) -Wall -Wpedantic -Wextra -Werror -O3 -o $(EXECUTABLE) priority_queue.c map.c stack.c path.c bmp.c main.c -lncurses -lm + $(CC) -Wall -Wpedantic -Wextra -Werror -O3 -o $(EXECUTABLE) priority_queue.c map.c stack.c path.c bmp.c main.c -lncurses debug: *.c *.h - $(CC) -Wall -g -o $(EXECUTABLE) -DPID_MESSAGE priority_queue.c map.c stack.c path.c bmp.c main.c -lncurses -lm + $(CC) -Wall -g -o $(EXECUTABLE) -DPID_MESSAGE priority_queue.c map.c stack.c path.c bmp.c main.c -lncurses clean: rm ./$(EXECUTABLE) @@ -5,9 +5,7 @@ #include <curses.h> #include "map.h" -#include "path.h" #include "structs.h" -#include "priority_queue.h" /* TODO: clean up, do defines or whatever */ void map_to_bmp(Map map, size_t map_width, size_t map_height, Position start, Position goal, Path path, char **visited, char *filename) { @@ -10,7 +10,6 @@ #include "structs.h" #include "config.h" #include "error.h" -#include "priority_queue.h" #include "path.h" #include "bmp.h" @@ -20,7 +19,6 @@ - save pathfinding to a series of BMPs - less magical values - MORE MAPS FOR THE MAP PEOPLE - - Clean up unused `#include`s - keybinding help screen - 'clean' rendering mode, without all the ugly shit - Comments */ @@ -2,7 +2,6 @@ #include <stdio.h> #include <string.h> #include <curses.h> -#include <math.h> #include <time.h> #include <unistd.h> |
