aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:31:21 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:31:21 +0200
commite06f4914b08d5d7c58bc201f731feb8d12145785 (patch)
treec7457af491a2645cf32aaefe63caf8a012482488 /Makefile
parentExit when q is pressed (diff)
downloadmongoclock-e06f4914b08d5d7c58bc201f731feb8d12145785.tar.gz
mongoclock-e06f4914b08d5d7c58bc201f731feb8d12145785.tar.bz2
mongoclock-e06f4914b08d5d7c58bc201f731feb8d12145785.tar.xz
Improve makefile + m whitespace fix3.1.5
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 376a12e..cb06e32 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ DIGITS =\
mongo_5.h mongo_6.h mongo_7.h mongo_8.h mongo_9.h \
mongo_c.h
+
all: mongoclock
mongoclock: mongoclock.o
@@ -51,18 +52,15 @@ mongo_c.h: digit.sh
install: mongoclock
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
- mkdir -p -- "$(DESTDIR)$(PREFIX)/share/licenses/mongoclock"
mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1"
cp -- mongoclock "$(DESTDIR)$(PREFIX)/bin/"
- cp -- LICENSE "$(DESTDIR)$(PREFIX)/share/licenses/mongoclock/"
cp -- mongoclock.1 "$(DESTDIR)$(MANPREFIX)/man1/"
uninstall:
-rm -- "$(DESTDIR)$(PREFIX)/bin/mongoclock"
-rm -- "$(DESTDIR)$(MANPREFIX)/man1/mongoclock.1"
- -rm -r -- "$(DESTDIR)$(PREFIX)/share/licenses/mongoclock"
clean:
- -rm -f -- *.o mongoclock mongo_*.h
+ -rm -f -- *.o *.su mongoclock mongo_*.h
.PHONY: all install uninstall clean