aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4f26280..10926cb 100644
--- a/Makefile
+++ b/Makefile
@@ -139,7 +139,6 @@ $(OBJ): $(HDR)
libkeccak.$(LIBEXT): $(OBJ)
$(CC) $(LIBFLAGS) -o $@ $(OBJ) $(LDFLAGS)
- $(FIX_INSTALL_NAME)
libkeccak.a: $(OBJ)
-rm -f -- $@
@@ -178,6 +177,7 @@ run-benchmark: benchmark benchfile
install: libkeccak.$(LIBEXT) libkeccak.a
mkdir -p -- "$(DESTDIR)$(PREFIX)/lib"
cp -- libkeccak.$(LIBEXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMINOREXT)"
+ $(FIX_INSTALL_NAME)
ln -sf -- libkeccak.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBMAJOREXT)"
ln -sf -- libkeccak.$(LIBMINOREXT) "$(DESTDIR)$(PREFIX)/lib/libkeccak.$(LIBEXT)"
cp -- libkeccak.a "$(DESTDIR)$(PREFIX)/lib/libkeccak.a"