summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 6cd8d1e8eef7746406f7f7f0fc429eb939db452c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# nthash - Generate NT Hash

CC	:= gcc
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

clean:
	/bin/rm -f *.o *~ nthash