From 530c94b167992d92673b7e68c858be0d2da6a2da Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 21 Aug 2013 13:52:40 +0200 Subject: update Makefile --- Makefile | 6 ++++-- 1 file 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: -- cgit v1.2.3-54-g00ecf