summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2019-03-11 19:57:55 -0600
committerAaron Ball <nullspoon@oper.io>2019-03-11 19:57:55 -0600
commita5b63af1e74e0cce65457198eee36689913e1d7c (patch)
treecff8bfcb04d3aec145df5803992db6474df78e26
parentd6a89e4ae00931b8506bcbac2a2b980a87e553a0 (diff)
downloadupwgen-a5b63af1e74e0cce65457198eee36689913e1d7c.tar.gz
upwgen-a5b63af1e74e0cce65457198eee36689913e1d7c.tar.xz
Makefile:Remove out variable
This was unecessary.
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 24870f8..e8eb59b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
CC = cc
CCOPTS = -Wall -std=gnu99
-out = upwgen
PREFIX = /usr/bin
MANPREFIX = /usr/share/man
@@ -14,7 +13,7 @@ VERSTR = "$(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL))$(EXTRAVERSION)"
all:
@if [ ! -d obj ]; then mkdir obj; fi
$(CC) $(CCOPTS) -c src/i18n_cat.c -o obj/i18n_cat.o
- $(CC) $(CCOPTS) -DVERSTR=$(VERSTR) src/main.c obj/*.o -o $(out)
+ $(CC) $(CCOPTS) -DVERSTR=$(VERSTR) src/main.c obj/*.o -o upwgen
# Interpolate the man page and compress
sed \
-e "s/{{ VERSTR }}/$(VERSTR)/" \
@@ -23,6 +22,6 @@ all:
install:
# Install the binary
- install -D -m 755 $(out) "$(DESTDIR)/$(PREFIX)/$(out)"
+ install -D -m 755 upwgen "$(DESTDIR)/$(PREFIX)/upwgen"
# Install the man page
install -D -m 644 upwgen.1.gz "$(DESTDIR)/$(MANPREFIX)/man1/upwgen.1.gz"

Generated by cgit