From 1425f72c38fe23a9d3fcda583a7da1e7315acfc3 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 17 Jan 2018 18:42:47 +0100 Subject: build system improved --- code/ecp/crypto/sha/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'code/ecp/crypto/sha/Makefile') diff --git a/code/ecp/crypto/sha/Makefile b/code/ecp/crypto/sha/Makefile index 4dc3f39..b775c83 100644 --- a/code/ecp/crypto/sha/Makefile +++ b/code/ecp/crypto/sha/Makefile @@ -4,14 +4,11 @@ CFLAGS=$(CFLAGS_PL) $(PIC) -I../include -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_D obj = sha1dgst.o sha1_one.o sha256.o sha512.o -all: libsha.a +all: $(obj) dep: all %.o: %.c $(CC) $(CFLAGS) -c $< -libsha.a: $(obj) - $(AR) rcs $@ $(obj) - clean: rm -f *.o *.a -- cgit v1.2.3