From b5d19a6731e99b0c4aee90059f60ee8910f52eea Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Mon, 20 Mar 2023 09:46:03 +0000 Subject: [PATCH] and *.elf files --- crypto/chacha20/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crypto/chacha20/Makefile b/crypto/chacha20/Makefile index 01bdbe5c..27c0156d 100644 --- a/crypto/chacha20/Makefile +++ b/crypto/chacha20/Makefile @@ -25,6 +25,7 @@ INCLUDES := $(wildcard $(SRCDIR)/*.h)) SVP64OBJECTS := $(ASFILES:$(SRCDIR)/%.s=$(SRCDIR)/%.o) OBJECTS := $(CFILES:$(SRCDIR)/%.c=$(SRCDIR)/%.o) BINFILES := $(BINDIR)/xchacha_hchacha20_svp64.bin $(BINDIR)/xchacha_encrypt_bytes_svp64.bin +ELFFILES := $(BINDIR)/xchacha_hchacha20_svp64.bin $(BINDIR)/xchacha_encrypt_bytes_svp64.bin $(BINDIR)/%.elf: $(SRCDIR)/%.o $(CROSSLD) -EL -o $@ -T memmap $^ @@ -35,11 +36,11 @@ $(BINDIR)/%.bin: $(BINDIR)/%.elf .PHONY: all clean remove all: ${TARGET} -$(TARGET): $(OBJECTS) $(SVP64OBJECTS) $(BINFILES) +$(TARGET): $(OBJECTS) $(SVP64OBJECTS) $(ELFFILES) $(CC) -o $@ $(OBJECTS) $(LDFLAGS) clean: - $ rm -f $(OBJECTS) $(SVP64OBJECTS) $(BINFILES) + $ rm -f $(OBJECTS) $(SVP64OBJECTS) $(BINFILES) $(ELFFILES) remove: clean $ rm -f $(TARGET) -- 2.30.2