aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32r/local.mk')
-rw-r--r--sim/m32r/local.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/m32r/local.mk b/sim/m32r/local.mk
index 072618f..321693b 100644
--- a/sim/m32r/local.mk
+++ b/sim/m32r/local.mk
@@ -71,6 +71,9 @@ $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
noinst_LIBRARIES += %D%/libsim.a
+## Override wildcards that trigger common/modules.c to be (incorrectly) used.
+%D%/modules.o: %D%/modules.c
+
%D%/%.o: common/%.c ; $(SIM_COMPILE)
-@am__include@ %D%/$(DEPDIR)/*.Po