Make targets
Alan Bateman
Alan.Bateman at oracle.com
Sat Apr 10 07:01:01 UTC 2021
On 09/04/2021 12:42, Jesper Wilhelmsson wrote:
> Hi,
>
> I'm writing a section about building the JDK from source and need some inspiration :-)
>
> What make targets do you normally use and why?
I assume you'll want a section here on incremental builds. I mostly work
with exploded builds so I regularly use "make java.base" to just
re-build the base module. More generally it's "make $MODULE". On some
occasions, say when doing significant renaming or refactoring then you
might need to use "make clean-$MODULE" to blow away the build output for
a specific module. Incremental builds aren't perfect so the text around
this probably should set expectations.
I use "make docs-javase" when working on API docs, more generally "make
docs". There are several make targets here that probably only a few
people will use (people starting out will probably not need to know
about these).
-Alan.
More information about the guide-dev
mailing list