aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2018-03-15 17:27:39 -0400
committerPaul Selkirk <paul@psgd.org>2018-03-15 17:27:39 -0400
commit8ba92fb36610120f7dc9a6fd71ac4780eae3beba (patch)
tree32f0224260759fd6337667ba282cb5a1fb504db9 /Makefile
Naive implementation of draft-mcgrew-hash-sigs-10.txt
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c07470a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+LIBHAL = ../../../sw/libhal
+CFLAGS = -Wall -Wextra -g -I$(LIBHAL)
+
+all: hashsig
+
+hashsig: hashsig_naive.o xdr.o errorstrings.o
+ $(CC) -o $@ $^ -lcrypto
+
+xdr.o: $(LIBHAL)/xdr.c
+ $(CC) -c $(CFLAGS) -o $@ $^
+
+errorstrings.o: $(LIBHAL)/errorstrings.c
+ $(CC) -c $(CFLAGS) -o $@ $^
+
+clean:
+ rm -f hashsig hashsig_naive.o xdr.o errorstrings.o