summaryrefslogtreecommitdiff
path: root/ext/crypto/sha/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ext/crypto/sha/Makefile')
-rw-r--r--ext/crypto/sha/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/crypto/sha/Makefile b/ext/crypto/sha/Makefile
new file mode 100644
index 0000000..a8f1d36
--- /dev/null
+++ b/ext/crypto/sha/Makefile
@@ -0,0 +1,15 @@
+include ../crypto_common.mk
+
+obj = sha1.o
+
+
+%.o: %.c %.h
+ $(CC) $(CFLAGS) -c $<
+
+%.o: %.S
+ $(CC) $(CFLAGS) -c $<
+
+all: $(obj)
+
+clean:
+ rm -f *.o