aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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