commit f5240bc81626b9bb418e2d99c3df82b558f2f95d parent 22febfdc04249d4c357253d0204243d93d2b093d Author: MichaelDim02 <31562759+MichaelDim02@users.noreply.github.com> Date: Sun, 9 May 2021 21:10:37 +0300 Add files via upload Diffstat:
M | src/Makefile | | | 16 | +++++++++++++++- |
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/src/Makefile b/src/Makefile @@ -1,6 +1,20 @@ +# Houndsniff https://mcdim.xyz/projects/hs.html +# Check LICENSE.txt for legal information + +CC=gcc +FILES=main.c select.c +BIN=hound + +all: main.c select.c + $(CC) $(FILES) -o $(BIN) + install: main.c select.c houndsniff.1 - gcc main.c select.c -o hound + $(CC) $(FILES) -o $(BIN) + sudo cp hound /usr/bin sudo cp houndsniff.1 /usr/share/man/man1 sudo mandb +uninstall: /usr/bin/$(BIN) /usr/share/man/man1/houndsniff.1 + rm /usr/bin/$(BIN) /usr/share/man/man1/houndsniff.1 +