commit 50a7a33bc5a7525c326ab838d16d66fad7acc082
Author: Raniconduh <clagv.randomgames@gmail.com>
Date: Sat Nov 06 21:20:18 2021 +0000
diff --git a/Makefile b/Makefile
index 4df8b27..591f78c 100644
--- a/Makefile
+++ b/Makefile
@@ -58 +56 @@ DEST ?= cscroll
CFLAGS ?= -Wall -Wextra -pedantic $(shell pkg-config --cflags ncurses)
LIBS ?= $(shell pkg-config --libs ncurses) -ltinfo
-RM ?= rm -f
-
all: cscroll
cscroll: $(SOURCES)
@@ -1611 +1411 @@ debug: $(SOURCES)
cc -I$(INCLUDEDIR) -DDEBUG -o $(DEST) $(SOURCES) $(CFLAGS) $(LIBS) -g
install: all
- install $(DEST) $(DESTDIR)/$(PREFIX)/bin
+ install -D $(DEST) $(DESTDIR)/$(PREFIX)/bin/$(DEST)
uninstall:
rm -f $(DESTDIR)/$(PREFIX)/bin/$(DEST)
clean:
- $(RM) $(DEST)
+ rm -f $(DEST)