1 SUBDIRS
= libupload tools lib elflink
/ldlinux gpllib libutil modules mboot \
2 menu samples elflink rosh cmenu hdt gfxboot sysdump lua
/src chain
4 .PHONY
: subdirs
$(SUBDIRS
)
8 $(MAKE
) -C
$(OBJ
)/$@ SRC
="$(SRC)"/$@ OBJ
="$(OBJ)"/$@
/ \
9 -f
$(SRC
)/$@
/Makefile
$(MAKECMDGOALS
)
11 all tidy
dist clean spotless
install: subdirs
13 # Parallel dependencies
14 chain lua
/src mboot menu
: libutil gpllib
18 hdt
: lib libupload cmenu gpllib libutil
19 modules
: lib libutil gpllib
21 samples
: libutil elflink
/ldlinux
22 sysdump
: libupload gpllib