diff options
Diffstat (limited to 'code/crypto/poly1305/Makefile')
-rw-r--r-- | code/crypto/poly1305/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/code/crypto/poly1305/Makefile b/code/crypto/poly1305/Makefile new file mode 100644 index 0000000..6ddec33 --- /dev/null +++ b/code/crypto/poly1305/Makefile @@ -0,0 +1,14 @@ +CFLAGS=-I../include -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_DECLS= -O3 $(PIC) +obj = poly1305.o + +all: libpoly1305.a +dep: all + +%.o: %.c + $(CC) $(CFLAGS) -c $< + +libpoly1305.a: $(obj) + $(AR) rcs $@ $(obj) + +clean: + rm -f *.o *.a |