build: fix default rule in submakefile
This commit is contained in:
parent
bd625fa56c
commit
567a9388d8
5 changed files with 15 additions and 15 deletions
|
@ -2,10 +2,10 @@ TOPGOALS = all clean install
|
||||||
|
|
||||||
SUBDIRS = cmd
|
SUBDIRS = cmd
|
||||||
|
|
||||||
|
.PHONY: $(TOPGOALS)
|
||||||
|
$(TOPGOALS): $(SUBDIRS)
|
||||||
|
|
||||||
.PHONY: $(SUBDIRS)
|
.PHONY: $(SUBDIRS)
|
||||||
$(SUBDIRS):
|
$(SUBDIRS):
|
||||||
@echo "📁 bin/$@"
|
@echo "📁 bin/$@"
|
||||||
@DESTDIR=$(DESTDIR)/bin $(MAKE) -C $@ $(MAKECMDGOALS)
|
@DESTDIR=$(DESTDIR)/bin $(MAKE) -C $@ $(MAKECMDGOALS)
|
||||||
|
|
||||||
.PHONY: $(TOPGOALS)
|
|
||||||
$(TOPGOALS): $(SUBDIRS)
|
|
||||||
|
|
|
@ -2,10 +2,10 @@ TOPGOALS = all clean install
|
||||||
|
|
||||||
SUBDIRS = bootsect loader efi
|
SUBDIRS = bootsect loader efi
|
||||||
|
|
||||||
|
.PHONY: $(TOPGOALS)
|
||||||
|
$(TOPGOALS): $(SUBDIRS)
|
||||||
|
|
||||||
.PHONY: $(SUBDIRS)
|
.PHONY: $(SUBDIRS)
|
||||||
$(SUBDIRS):
|
$(SUBDIRS):
|
||||||
@echo "📁 boot/$@"
|
@echo "📁 boot/$@"
|
||||||
@DESTDIR=$(DESTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
@DESTDIR=$(DESTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
||||||
|
|
||||||
.PHONY: $(TOPGOALS)
|
|
||||||
$(TOPGOALS): $(SUBDIRS)
|
|
||||||
|
|
6
external/Makefile
vendored
6
external/Makefile
vendored
|
@ -2,10 +2,10 @@ TOPGOALS = all clean install
|
||||||
|
|
||||||
SUBDIRS =
|
SUBDIRS =
|
||||||
|
|
||||||
|
.PHONY: $(TOPGOALS)
|
||||||
|
$(TOPGOALS): $(SUBDIRS)
|
||||||
|
|
||||||
.PHONY: $(SUBDIRS)
|
.PHONY: $(SUBDIRS)
|
||||||
$(SUBDIRS):
|
$(SUBDIRS):
|
||||||
@echo "📁 external/$@"
|
@echo "📁 external/$@"
|
||||||
@DESTDIR=$(DESTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
@DESTDIR=$(DESTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
||||||
|
|
||||||
.PHONY: $(TOPGOALS)
|
|
||||||
$(TOPGOALS): $(SUBDIRS)
|
|
||||||
|
|
|
@ -2,10 +2,10 @@ SUBDIRS = csu crypto lzp c
|
||||||
|
|
||||||
TOPGOALS = all clean install
|
TOPGOALS = all clean install
|
||||||
|
|
||||||
|
.PHONY: $(TOPGOALS)
|
||||||
|
$(TOPGOALS): $(SUBDIRS)
|
||||||
|
|
||||||
.PHONY: $(SUBDIRS)
|
.PHONY: $(SUBDIRS)
|
||||||
$(SUBDIRS):
|
$(SUBDIRS):
|
||||||
@echo "📁 lib/$@"
|
@echo "📁 lib/$@"
|
||||||
@DESTDIR=$(DESTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
@DESTDIR=$(DESTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
||||||
|
|
||||||
.PHONY: $(TOPGOALS)
|
|
||||||
$(TOPGOALS): $(SUBDIRS)
|
|
||||||
|
|
|
@ -2,10 +2,10 @@ TOPGOALS = all clean install
|
||||||
|
|
||||||
SUBDIRS = dummy
|
SUBDIRS = dummy
|
||||||
|
|
||||||
|
.PHONY: $(TOPGOALS)
|
||||||
|
$(TOPGOALS): $(SUBDIRS)
|
||||||
|
|
||||||
.PHONY: $(SUBDIRS)
|
.PHONY: $(SUBDIRS)
|
||||||
$(SUBDIRS):
|
$(SUBDIRS):
|
||||||
@echo "📁 modules/$@"
|
@echo "📁 modules/$@"
|
||||||
@DESTDIR=$(DESTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
@DESTDIR=$(DESTDIR) $(MAKE) -C $@ $(MAKECMDGOALS)
|
||||||
|
|
||||||
.PHONY: $(TOPGOALS)
|
|
||||||
$(TOPGOALS): $(SUBDIRS)
|
|
||||||
|
|
Loading…
Reference in a new issue