From 1149a412cc6fb7578442cd724664b8be1d897255 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Thu, 28 Jan 2016 12:15:14 -0800 Subject: [PATCH] Support make-3.82 and newer make changed its priorties for resolving implicit rules, which causes different behavior when running "make run-bmark-tests". This patch changes the hex file rules to ensure they match between the two versions of make. I've tried this with both make-3.81 and make-4.1, and they both work for me. --- Makefrag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefrag b/Makefrag index fcb14a9d..6d8eeb10 100644 --- a/Makefrag +++ b/Makefrag @@ -42,7 +42,7 @@ $(sim_dir)/libdramsim.a: $(DRAMSIM_OBJS) %.hex: $(MAKE) -C $(dir $@) $(notdir $@) -%.riscv.hex: % +%.riscv.hex: %.riscv $(MAKE) -C $(dir $@) $(notdir $@) #---------------------------------------------------------------------