ladybird/Libraries
joshua stein c127d16326 Build: support library and generator dependencies
Instead of directly manipulating LDFLAGS, set LIB_DEPS in each
subdirectory Makefile listing the libraries needed for
building/linking such as "LIB_DEPS = Core GUI Draw IPC Core".

This adds each library as an -L and -l argument in LDFLAGS, but
also adds the library.a file as a link dependency on the current
$(PROGRAM).  This causes the given library to be (re)built before
linking the current $(PROGRAM), but will also re-link any binaries
depending on that library when it is modified, when running make
from the root directory.

Also turn generator tools like IPCCompiler into dependencies on the
files they generate, so they are built on-demand when a particular
directory needs them.

This all allows the root Makefile to just list directories and not
care about the order, as all of the dependency tracking will figure
it out.
2019-12-25 10:11:09 +01:00
..
LibAudio Build: support library and generator dependencies 2019-12-25 10:11:09 +01:00
LibC Build: support library and generator dependencies 2019-12-25 10:11:09 +01:00
LibCore LibCore: compile puff.c as a separate object 2019-12-25 10:11:09 +01:00
LibDraw LibDraw: Teach progress bar painting about palettes 2019-12-24 22:17:11 +01:00
LibELF Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibGUI Build: support library and generator dependencies 2019-12-25 10:11:09 +01:00
LibHTML Build: support library and generator dependencies 2019-12-25 10:11:09 +01:00
LibIPC Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibM Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibMarkdown Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibPCIDB Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibProtocol Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibPthread LibPthread: Okay I'm dumb, let's convert mutex locks into Atomic<u32>& 2019-12-22 20:25:09 +01:00
LibThread Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
LibVT Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00
Makefile Build: clean up build system, use one shared Makefile 2019-12-20 20:20:54 +01:00