From 9aaaacfc1a7e5cec00a1b9bfa4998d85dc208f39 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