aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-21 12:01:39 +0100
committerMattias Andrée <maandree@kth.se>2021-02-21 12:01:39 +0100
commit250376f60aeebbc215359e51ce003f0e104e7986 (patch)
treebce660d205538b8cba461d851421d35badd28514 /Makefile
parentRemove dist (diff)
downloadread-quickly-2.0.tar.gz
read-quickly-2.0.tar.bz2
read-quickly-2.0.tar.xz
Rename to read-quickly2.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index eedff0a..1121ff9 100644
--- a/Makefile
+++ b/Makefile
@@ -3,26 +3,26 @@
CONFIGFILE = config.mk
include $(CONFIGFILE)
-all: rq
+all: read-quickly
-rq: rq.o
+read-quickly: read-quickly.o
$(CC) -o $@ $@.o $(LDFLAGS)
.c.o:
$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
-install: rq
+install: read-quickly
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1"
- cp -- rq "$(DESTDIR)$(PREFIX)/bin/$(COMMAND)"
- cp -- rq.1 "$(DESTDIR)$(MANPREFIX)/man1/$(COMMAND).1"
+ cp -- read-quickly "$(DESTDIR)$(PREFIX)/bin/"
+ cp -- read-quickly.1 "$(DESTDIR)$(MANPREFIX)/man1/"
uninstall:
- -rm -f -- "$(DESTDIR)$(PREFIX)/$(COMMAND)"
- -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/$(COMMAND).1"
+ -rm -f -- "$(DESTDIR)$(PREFIX)/read-quickly"
+ -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/read-quickly.1"
clean:
- -rm -rf -- rq *.o
+ -rm -rf -- read-quickly *.o
.SUFFIXES:
.SUFFIXES: .o .c