summaryrefslogtreecommitdiff
path: root/code/ecp/crypto/sha/Makefile
blob: 4dc3f39b3f61639bfa6b06a282331565bf422c6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include ../../Makefile.platform
CFLAGS=$(CFLAGS_PL) $(PIC) -I../include -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_DECLS=

obj = sha1dgst.o sha1_one.o sha256.o sha512.o


all: libsha.a
dep: all

%.o: %.c
	$(CC) $(CFLAGS) -c $<

libsha.a: $(obj)
	$(AR) rcs $@ $(obj)

clean:
	rm -f *.o *.a