Makefile now deletes libfinal.a to avoid linkage errors

This commit is contained in:
hilder.vitor
2022-03-11 10:20:40 +01:00
parent 8a44bab96d
commit 5218543f67

View File

@ -5,7 +5,7 @@ DEPS = -lntl -lgmp -lfftw3 -lm
all: clean test all: clean test
clean: 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 test: FINAL.h libfinal.a
$(CCX) $(CCXFLAGS) -o test test.cpp libfinal.a $(DEPS) $(CCX) $(CCXFLAGS) -o test test.cpp libfinal.a $(DEPS)