blob: d507b285979d367150199dfc1a789344d4f7a793 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# nthash - Generate NT Hash
CC := gcc
ECHO := echo
GREP := grep
CFLAGS += -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs nettle)
VERSION = $(shell git describe --tags --long)
all: nthash.c
$(CC) $(CFLAGS) -o nthash nthash.c
check:
$(ECHO) -n "testing123" | ./nthash | \
$(GREP) '^3e 67 8b 26 6d 1d 44 9e 53 1e 92 be c3 3b 6d 27$$'
clean:
/bin/rm -f *.o *~ nthash
|