From 04efc9ddd7b94ed610728ac511ff76ce188031ab Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 8 Jul 2013 17:15:03 +0200 Subject: update Makefile --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d507b28..e89dd9b 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,8 @@ CC := gcc ECHO := echo GREP := grep +INSTALL := install +RM := rm CFLAGS += -O2 -Wall -Werror CFLAGS += $(shell pkg-config --cflags --libs nettle) VERSION = $(shell git describe --tags --long) @@ -14,5 +16,8 @@ check: $(ECHO) -n "testing123" | ./nthash | \ $(GREP) '^3e 67 8b 26 6d 1d 44 9e 53 1e 92 be c3 3b 6d 27$$' +install: + $(INSTALL) -D -m0755 nthash $(DESTDIR)/usr/bin/nthash + clean: - /bin/rm -f *.o *~ nthash + $(RM) -f *.o *~ nthash -- cgit v1.2.3-70-g09d2