termaze

maze generation and pathfinding visualizer
git clone git://git.yotsev.xyz/termaze.git
Log | Files | Refs | README | LICENSE

commit b046bd446151662a49ae8d39f7e384ddb83b563f
parent 6bcb04243852275e4268204e1494ebdd96a80626
Author: Petar Yotsev <petar@yotsev.xyz>
Date:   Thu, 24 Jun 2021 15:52:29 +0100

Add installation option to Makefile and fix README

Diffstat:
MMakefile | 9++++++++-
MREADME.md | 17++++++++---------
2 files changed, 16 insertions(+), 10 deletions(-)

diff --git a/Makefile b/Makefile @@ -27,7 +27,14 @@ timer.o: state.hpp timer.?pp state.o: state.?pp $(CC) -c $(CC_FLAGS) state.cpp +install: $(EXEC) + cp -f $(EXEC) /usr/local/bin + chmod 755 /usr/local/bin/$(EXEC) + +uninstall: + rm -f /usr/local/bin/$(EXEC) -.PHONY : clean clean: -rm -f $(EXEC) $(OBJECTS) *.gch + +.PHONY: clean install uninstall diff --git a/README.md b/README.md @@ -1,10 +1,8 @@ -# termaze +## termaze ---- - -A program that visualizes maze generation and pathfinding algorithms written in -C++. It's designed with minimal dependencies and performance in mind. It runs in -the terminal. +A program that visualizes maze generation and pathfinding algorithms +written in C++. It's designed with minimal dependencies and performance +in mind. It runs in the terminal. ## Features @@ -36,13 +34,14 @@ You probably already have it if you use linux. git clone git://git.yotsev.xyz/termaze.git cd termaze - make + make install ## Usage - ./termaze + termaze -Press escape to enter the menu. Navigation is done with vim-like keybindings. +Press escape to enter the menu. Navigation is done with vim-like +keybindings. ## License