From 52e6bf6987e03c81ce7fe23f4c4703002c14ed8c Mon Sep 17 00:00:00 2001 From: Olof Kindgren Date: Fri, 26 Jun 2015 01:16:35 +0200 Subject: [PATCH] litesata/test: Add missing dependency on scrambler in bist_tb --- misoclib/mem/litesata/test/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/misoclib/mem/litesata/test/Makefile b/misoclib/mem/litesata/test/Makefile index 48228e975..ae0998fee 100644 --- a/misoclib/mem/litesata/test/Makefile +++ b/misoclib/mem/litesata/test/Makefile @@ -13,8 +13,7 @@ crc_tb: $(CC) $(CFLAGS) $(INC) -o crc crc.c $(CMD) crc_tb.py -scrambler_tb: - $(CC) $(CFLAGS) $(INC) -o scrambler scrambler.c +scrambler_tb: scrambler $(CMD) scrambler_tb.py cont_tb: @@ -26,7 +25,7 @@ link_tb: command_tb: $(CMD) command_tb.py -bist_tb: +bist_tb: scrambler $(CMD) bist_tb.py striping_tb: @@ -35,5 +34,8 @@ striping_tb: mirroring_tb: $(CMD) mirroring_tb.py +scrambler: scrambler.c + $(CC) $(CFLAGS) $(INC) -o $@ $< + clean: - rm crc scrambler *.vcd + rm -f crc scrambler *.vcd