Skip to content

Commit

Permalink
Makefile: convenience rule
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Jan 27, 2021
1 parent 251ca85 commit c4cb117
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ build/wasm32/gcc-testsuite/%.{dejagnu}.mk: built/wasm32/gcc | build/wasm32/gcc s
echo "build/wasm32/gcc-testsuite/$*.all: $$all" >> $@

build/wasm32/gcc-testsuite/gcc.dg/%: build/wasm32/gcc-testsuite/gcc.dg/dg.exp.{dejagnu}.mk
make -f $< $@
make -f $< $@ || (cat $(dir $@)gcc.log > /dev/stderr; false)

build/wasm32/gcc-testsuite/gcc.dg/tls/%: build/wasm32/gcc-testsuite/gcc.dg/tls/tls.exp.{dejagnu}.mk
make -f $< $@ || (cat $(dir $@)gcc.log > /dev/stderr; false)

build/wasm32/gcc-testsuite/%.{dejagnu}.tar: build/wasm32/gcc-testsuite/%.{dejagnu}.mk build/wasm32/gcc-testsuite/site.exp
$(MAKE) -f $< build/wasm32/gcc-testsuite/$*.all || true
Expand Down

0 comments on commit c4cb117

Please sign in to comment.