mirror of
https://github.com/mii443/FINAL.git
synced 2025-08-22 15:05:36 +00:00
Makefile now deletes libfinal.a to avoid linkage errors
This commit is contained in:
4
Makefile
4
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
|
||||
$(CCX) $(CCXFLAGS) -c src/sampler.cpp
|
||||
|
Reference in New Issue
Block a user