From 3eb1096bfb1b6efcd33af82eb98bfefb11fe02f2 Mon Sep 17 00:00:00 2001 From: Ben Edgington Date: Wed, 3 Feb 2021 00:06:51 +0000 Subject: [PATCH] Add Makefile as a dependency for tests --- src/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 56fedf1..68bbae1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,15 +5,15 @@ tests = fft_util_test fft_fr_test fft_g1_test %.o: %.c %.h c-kzg.h clang -Wall -c $*.c -fft_fr_test: fft_fr.o fft_fr_test.c test_util.o fft_util.o +fft_fr_test: fft_fr.o fft_fr_test.c test_util.o fft_util.o Makefile clang -Wall -o $@ $@.c test_util.o fft_fr.o fft_util.o -L../lib -lblst ./$@ -fft_g1_test: fft_g1.o fft_g1_test.c test_util.o fft_util.o +fft_g1_test: fft_g1.o fft_g1_test.c test_util.o fft_util.o Makefile clang -Wall -o $@ $@.c test_util.o fft_g1.o fft_util.o -L../lib -lblst ./$@ -%_test: %.o %_test.c test_util.o +%_test: %.o %_test.c test_util.o Makefile clang -Wall -o $@ $@.c test_util.o $*.o -L../lib -lblst ./$@