Thumbnail

rani/cscroll.git

Clone URL: https://git.buni.party/rani/cscroll.git

commit 0cefa23310a35edc3fe20713e6d6b28ca2939613 Author: Raniconduh <clagv.randomgames@gmail.com> Date: Sun Oct 10 20:41:08 2021 +0000 Added install and uninstall targets diff --git a/Makefile b/Makefile index 4931a5c..c6191a6 100644 --- a/Makefile +++ b/Makefile @@ -136 +1312 @@ cscroll: $(SOURCES)  debug: $(SOURCES)   cc -I$(INCLUDEDIR) -DDEBUG -o $(DEST) $(SOURCES) $(CFLAGS) $(LIBS) -g   +install: all + install $(DEST) $(DESTDIR)/$(PREFIX)/bin + +uninstall: + rm -f $(DESTDIR)/$(PREFIX)/bin/$(DEST) +  clean:   $(RM) $(DEST)