blob: 1740318f24e392e20205ec45b920da7d499d79e7 (
plain) (
tree)
|
|
CC=gcc
CFLAGS=-c
LDFLAGS=
ecdh_model_fpga: ecdh_model_fpga.o fpga_curve.o fpga_modular.o fpga_lowlevel.o fpga_util.o
$(CC) $(LDFLAGS) ecdh_model_fpga.o fpga_curve.o fpga_modular.o fpga_lowlevel.o fpga_util.o -o ecdh_model_fpga
ecdh_model_fpga.o: ecdh_model_fpga.cpp ecdh_model_fpga.h fpga_curve.h fpga_modular.h fpga_lowlevel.h fpga_util.h
$(CC) $(CFLAGS) ecdh_model_fpga.cpp
fpga_curve.o: fpga_curve.cpp ecdh_model_fpga.h fpga_lowlevel.h fpga_modular.h fpga_curve.h fpga_util.h
$(CC) $(CFLAGS) fpga_curve.cpp
fpga_modular.o: fpga_modular.cpp ecdh_model_fpga.h fpga_lowlevel.h fpga_modular.h
$(CC) $(CFLAGS) fpga_modular.cpp
fpga_lowlevel.o: fpga_lowlevel.cpp ecdh_model_fpga.h fpga_lowlevel.h
$(CC) $(CFLAGS) fpga_lowlevel.cpp
fpga_util.o: fpga_util.cpp ecdh_model_fpga.h fpga_lowlevel.h fpga_util.h
$(CC) $(CFLAGS) fpga_util.cpp
clean:
rm -f ecdh_model_fpga *.o
|