mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
ac25438d54
Allow everything to be built from the top level directory with just 'make', cleaned with 'make clean', and installed with 'make install'. Also support these in any particular subdirectory. Specifying 'make VERBOSE=1' will print each ld/g++/etc. command as it runs. Kernel and early host tools (IPCCompiler, etc.) are built as object.host.o so that they don't conflict with other things built with the cross-compiler.
44 lines
954 B
Makefile
44 lines
954 B
Makefile
# Build the host-side tools first, since they are needed to build some programs.
|
|
SUBDIRS = \
|
|
DevTools/IPCCompiler \
|
|
DevTools/FormCompiler \
|
|
Libraries/LibHTML/CodeGenerators/Generate_CSS_PropertyID_cpp \
|
|
Libraries/LibHTML/CodeGenerators/Generate_CSS_PropertyID_h
|
|
|
|
# Build LibC, LibCore, LibIPC and LibThread before IPC servers, since they depend on them.
|
|
SUBDIRS += \
|
|
Libraries/LibC \
|
|
Libraries/LibCore \
|
|
Libraries/LibDraw \
|
|
Libraries/LibIPC \
|
|
Libraries/LibThread \
|
|
Libraries/LibPthread
|
|
|
|
# Build IPC servers before their client code to ensure the IPC definitions are available.
|
|
SUBDIRS += \
|
|
Servers/AudioServer \
|
|
Servers/LookupServer \
|
|
Servers/ProtocolServer \
|
|
Libraries/LibAudio \
|
|
Servers/WindowServer
|
|
|
|
SUBDIRS += \
|
|
AK
|
|
|
|
SUBDIRS += \
|
|
Libraries \
|
|
Applications \
|
|
DevTools \
|
|
Servers \
|
|
Shell \
|
|
Userland \
|
|
MenuApplets \
|
|
Demos \
|
|
Games \
|
|
Kernel
|
|
|
|
include Makefile.subdir
|
|
|
|
.PHONY: test
|
|
test:
|
|
$(QUIET) $(MAKE) -C AK/Tests clean all clean
|