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