diff options
author | Christian Hesse <mail@eworm.de> | 2013-11-26 01:37:29 -0800 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-11-26 01:37:29 -0800 |
commit | 2ddcdfc0e92d18e9497ea59cea3c8a9870ee09f0 (patch) | |
tree | bb6c4dbf14bd57a2337fd824e05096837da3f78d /Makefile | |
parent | 42a830823669b6fc7fa529c92d8cc528e57d5629 (diff) | |
parent | bb943d51226b1b40a8c669a5ce0ec0146ca3234d (diff) | |
download | nthash-2ddcdfc0e92d18e9497ea59cea3c8a9870ee09f0.tar.gz nthash-2ddcdfc0e92d18e9497ea59cea3c8a9870ee09f0.tar.zst |
Merge pull request #1 from cicku/patch-1
Update Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ # nthash - Generate NT Hash - +PREFIX := /usr CC := gcc ECHO := echo GREP := grep @@ -13,7 +13,7 @@ CFLAGS += $(shell pkg-config --cflags --libs nettle 2>/dev/null || echo "-lnettl all: nthash nthash: - $(CC) $(CFLAGS) -o nthash nthash.c + $(CC) $(CFLAGS) -o nthash $(LDFLAGS) nthash.c check: $(ECHO) -n "testing123" | ./nthash | \ @@ -22,7 +22,7 @@ check: $(GREP) -q '^Warning: Input contains line break!$$' install: nthash - $(INSTALL) -D -m0755 nthash $(DESTDIR)/usr/bin/nthash + $(INSTALL) -pDm0755 nthash $(DESTDIR)$(PREFIX)/bin/nthash clean: $(RM) -f *.o *~ nthash |