From 78fc83ef3d73cd0a2d988e464d5caf1e7ccf79e3 Mon Sep 17 00:00:00 2001 From: Stefan Tatschner Date: Wed, 22 May 2019 22:33:09 +0200 Subject: Makefile: Minor improvements, usage of $@ and $(RM) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 68d7895e..5498a67b 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ aerc: go build $(GOFLAGS) \ -ldflags "-X main.Prefix=$(PREFIX)" \ -ldflags "-X main.ShareDir=$(SHAREDIR)" \ - -o aerc + -o $@ %.1: doc/%.1.scd scdoc < $< > $@ @@ -32,7 +32,7 @@ doc: $(DOCS) all: aerc doc clean: - rm -f *.1 *.5 aerc + $(RM) *.1 *.5 *.7 aerc install: all mkdir -p $(BINDIR) $(MANDIR)/man1 $(MANDIR)/man5 $(MANDIR)/man7 \ -- cgit