summaryrefslogtreecommitdiff
path: root/code/ecp/crypto/sha/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-17 18:42:47 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-17 18:42:47 +0100
commit1425f72c38fe23a9d3fcda583a7da1e7315acfc3 (patch)
tree2731c1f5b9e0c76e0a0775f6eddf81fd90b0817d /code/ecp/crypto/sha/Makefile
parent97a7e6617f8ad06b7bff495603200b853766ecc8 (diff)
build system improved
Diffstat (limited to 'code/ecp/crypto/sha/Makefile')
-rw-r--r--code/ecp/crypto/sha/Makefile5
1 files changed, 1 insertions, 4 deletions
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