chiark / gitweb /
subdirmk/generate: Supply default target if none given in command line
authorMark Wooding <mdw@distorted.org.uk>
Wed, 13 Nov 2019 18:42:18 +0000 (18:42 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 13 Nov 2019 19:29:56 +0000 (19:29 +0000)
commit32f2d681625cb2d4bde2d155e5b95ec12d0e753d
tree82b91edd659280f591e3489461533193c84855ad
parent53819b44e7c74b0a991d41fd96d706861051799d
subdirmk/generate: Supply default target if none given in command line

If you just run `make' then `$(MAKECMDGOALS)' is empty, so we get the
default target of `main.mk'.  Nothing is set up by `usual.mk', so we
end up with `$(srcdir)/configure' established by `regen.mk'.

Instead, propagate `all' to the `main.mk' makefile.  Maybe this should
be configurable, though I don't think that'll be very useful in real
life.

Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
subdirmk/generate