summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-04-16 08:38:51 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-04-16 08:38:51 +0200
commite56ed2ffea0245eee3c08edd97d5e560a964c78d (patch)
treee0c2bad22282e9a0777a268831d668e5d77e9efd /Makefile
parent7d38cb8a72cb9d864d753b15f47026a3d97a124f (diff)
downloadnthash-e56ed2ffea0245eee3c08edd97d5e560a964c78d.tar.gz
nthash-e56ed2ffea0245eee3c08edd97d5e560a964c78d.tar.zst
initial commit0.1.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..8c11863
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+# nthash - Generate NT Hash
+
+CC := gcc
+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