"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: Provide lib/Makefile to enable tags file generation
To:
gameoftrees@openbsd.org
Date:
Thu, 7 Oct 2021 17:00:56 +0200

Download raw body.

Thread
> +.if make(tags)

I think that should include at least 'make(cleandir)' as well so
the tags file gets removed like the others.

> +SUBDIR += lib
> +.endif
> +
>  .include "got-version.mk"
>  
>  release: clean
> blob - /dev/null
> blob + c29824ec93904a78d46471cb7d666413bf09fdff (mode 644)
> --- /dev/null
> +++ lib/Makefile
> @@ -0,0 +1,5 @@
> +PROG =	# empty
> +# make the "libs" target work
> +SRCS =	*.c
> +
> +.include <bsd.prog.mk>
> 

would using bsd.lib.mk make things easier (no need to set PROG, I guess)
or would that break anything?