aboutsummaryrefslogtreecommitdiffstats
path: root/com32/Makefile
blob: 5efda1ce1ce1f470423e4ecf43bbff209985bbf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUBDIRS = tools lib libutil gpllib libupload elflink/ldlinux modules mboot \
	  menu samples elflink rosh cmenu hdt gfxboot sysdump lua/src chain

.PHONY: subdirs $(SUBDIRS)
subdirs: $(SUBDIRS)
$(SUBDIRS):
	@mkdir -p $(OBJ)/$@
	$(MAKE) -C $(OBJ)/$@ SRC="$(SRC)"/$@ OBJ="$(OBJ)"/$@/ \
		-f $(SRC)/$@/Makefile $(MAKECMDGOALS)

all tidy dist clean spotless install: subdirs

# Parallel dependencies
elflink/ldlinux gpllib libupload libutil: lib
cmenu: lib libutil

chain gfxboot mboot menu modules rosh: lib libutil gpllib
hdt: lib libutil gpllib libupload cmenu
lua/src: lib libutil gpllib cmenu
samples: lib libutil gpllib elflink/ldlinux
sysdump: lib libutil gpllib libupload