mirror of https://github.com/ARMmbed/mbed-os.git
Force all to be the default target
parent
6c1c7a5955
commit
3850c2628b
|
@ -13,12 +13,13 @@ endif
|
||||||
ifeq (,$(filter .build,$(notdir $(CURDIR))))
|
ifeq (,$(filter .build,$(notdir $(CURDIR))))
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
OBJDIR := .build
|
OBJDIR := .build
|
||||||
MAKETARGET = $(MAKE) --no-print-directory -C $@ -f $(CURDIR)/Makefile \
|
MAKETARGET = $(MAKE) --no-print-directory -C $(OBJDIR) -f $(CURDIR)/Makefile \
|
||||||
SRCDIR=$(CURDIR) $(MAKECMDGOALS)
|
SRCDIR=$(CURDIR) $(MAKECMDGOALS)
|
||||||
.PHONY: $(OBJDIR) clean
|
.PHONY: $(OBJDIR) clean
|
||||||
$(OBJDIR):
|
all:
|
||||||
+@$(call MAKEDIR,$@)
|
+@$(call MAKEDIR,$(OBJDIR))
|
||||||
+@$(MAKETARGET)
|
+@$(MAKETARGET)
|
||||||
|
$(OBJDIR): all
|
||||||
Makefile : ;
|
Makefile : ;
|
||||||
% :: $(OBJDIR) ; :
|
% :: $(OBJDIR) ; :
|
||||||
clean :
|
clean :
|
||||||
|
|
Loading…
Reference in New Issue