Download raw body.
Provide lib/Makefile to enable tags file generation
On Thu, Oct 07, 2021 at 03:17:42PM +0000, Klemens Nanni wrote: > On Thu, Oct 07, 2021 at 02:49:50PM +0000, Klemens Nanni wrote: > > blob - /dev/null > > blob + c29824ec93904a78d46471cb7d666413bf09fdff (mode 644) > > --- /dev/null > > +++ lib/Makefile > > @@ -0,0 +1,5 @@ > > +PROG = # empty > > So this changes things: the default target now fails instead of silently > doing nothing. > > > +# make the "libs" target work > > +SRCS = *.c > > + > > +.include <bsd.prog.mk> > > And there's more fitting <bsd.lib.mk> which is used identically, > although the default target always fails with LIB unset or set to the > empty string... > > I'd do this for "correctness"; you're not supposed to run make for > anything but tags anyway, so better fail. Sure! Looks good to me. I don't use tags so I cannot test it.
Provide lib/Makefile to enable tags file generation