Merge branch 'makefile' into 'master'
Makefile: propagate -j option to submake See merge request !101
This commit is contained in:
commit
f3ab1c7540
4
Makefile
4
Makefile
|
@ -5,8 +5,8 @@ AM_HOME ?= $(shell pwd)
|
||||||
.PHONY: all clean
|
.PHONY: all clean
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@cd am && make
|
@$(MAKE) -C am
|
||||||
|
|
||||||
# TODO: clean everything
|
# TODO: clean everything
|
||||||
clean:
|
clean:
|
||||||
@cd am && make clean
|
@$(MAKE) -C am clean
|
||||||
|
|
|
@ -65,6 +65,6 @@ DEPS = $(addprefix $(DST_DIR)/, $(addsuffix .d, $(basename $(SRCS))))
|
||||||
# Dependent AM and libraries
|
# Dependent AM and libraries
|
||||||
.PHONY: $(LIBS) am
|
.PHONY: $(LIBS) am
|
||||||
am:
|
am:
|
||||||
cd $(AM_HOME) && make
|
$(MAKE) -C $(AM_HOME)
|
||||||
$(LIBS): %:
|
$(LIBS): %:
|
||||||
cd $(AM_HOME)/libs/$* && make
|
$(MAKE) -C $(AM_HOME)/libs/$*
|
||||||
|
|
Loading…
Reference in New Issue