sim: build: respect AM_MAKEFLAGS when entering subdirs

This doesn't matter right now, but it will as we add more flags to
the recursive make step to pass state down.
This commit is contained in:
Mike Frysinger
2022-11-06 21:09:25 +07:00
parent 1e5482d568
commit 93e0ec910a
7 changed files with 14 additions and 14 deletions

View File

@ -26,7 +26,7 @@ noinst_PROGRAMS += %D%/run
## Helper targets for running make from the top-level due to run's main.o.
%D%/%.o: %D%/%.c | %D%/libsim.a $(SIM_ALL_RECURSIVE_DEPS)
$(MAKE) -C $(@D) $(@F)
$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
%C%docdir = $(docdir)/%C%
%C%doc_DATA = %D%/README.txt