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
|
||||
|
||||
all:
|
||||
@cd am && make
|
||||
@$(MAKE) -C am
|
||||
|
||||
# TODO: clean everything
|
||||
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
|
||||
.PHONY: $(LIBS) am
|
||||
am:
|
||||
cd $(AM_HOME) && make
|
||||
$(MAKE) -C $(AM_HOME)
|
||||
$(LIBS): %:
|
||||
cd $(AM_HOME)/libs/$* && make
|
||||
$(MAKE) -C $(AM_HOME)/libs/$*
|
||||
|
|
Loading…
Reference in New Issue