From 5218543f67849f766f4f928f4752163fadca6689 Mon Sep 17 00:00:00 2001 From: "hilder.vitor" Date: Fri, 11 Mar 2022 10:20:40 +0100 Subject: [PATCH] Makefile now deletes libfinal.a to avoid linkage errors --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8f941c5..1745d22 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ DEPS = -lntl -lgmp -lfftw3 -lm all: clean test clean: - $(RM) test test.o lwehe.o ntruhe.o fft.o sampler.o keygen.o + $(RM) test test.o lwehe.o ntruhe.o fft.o sampler.o keygen.o libfinal.a test: FINAL.h libfinal.a $(CCX) $(CCXFLAGS) -o test test.cpp libfinal.a $(DEPS) @@ -26,4 +26,4 @@ fft.o: include/fft.h $(CCX) $(CCXFLAGS) -c src/fft.cpp sampler.o: include/sampler.h include/params.h src/sampler.cpp - $(CCX) $(CCXFLAGS) -c src/sampler.cpp \ No newline at end of file + $(CCX) $(CCXFLAGS) -c src/sampler.cpp