summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:52:40 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:52:40 +0200
commit530c94b167992d92673b7e68c858be0d2da6a2da (patch)
tree8e2fe9071fd8f32752766a074a954b3696eebb22
parentea031838fb84f559aeeef6499dc9a5da66f5621a (diff)
downloadnthash-530c94b167992d92673b7e68c858be0d2da6a2da.tar.gz
nthash-530c94b167992d92673b7e68c858be0d2da6a2da.tar.zst
update Makefile
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 55eb9f4..934b706 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,9 @@ CFLAGS += -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs nettle)
VERSION = $(shell git describe --tags --long)
-all: nthash.c
+all: nthash
+
+nthash:
$(CC) $(CFLAGS) -o nthash nthash.c
check:
@@ -18,7 +20,7 @@ check:
$(ECHO) "testing123" | ./nthash 2>&1 | \
$(GREP) -q '^Warning: Input contains line break!$$'
-install:
+install: nthash
$(INSTALL) -D -m0755 nthash $(DESTDIR)/usr/bin/nthash
clean: