summaryrefslogtreecommitdiff
path: root/fw/fe310/crypto/Makefile
blob: 2230d6af37987cdcfb97fb55e67622bd1b4c3a98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)