From e06f4914b08d5d7c58bc201f731feb8d12145785 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 16 Sep 2021 18:31:21 +0200 Subject: Improve makefile + m whitespace fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2