| e8555c89 Andy McCall |
1 |
|
| 2 |
|
| 3 |
|
| 4 |
.PHONY: sequence-$(words $(ACTION_COUNTER)) |
| 5 |
ifeq ($(words $(ACTION_COUNTER)),0) |
| 6 |
sequence-0: |
| 7 |
else |
| 8 |
NEXT_ACTION_COUNTER:=$(wordlist 2,999999,$(ACTION_COUNTER)) |
| 9 |
|
| 10 |
sequence-$(words $(ACTION_COUNTER)): sequence-$(words $(NEXT_ACTION_COUNTER)) |
| 11 |
@echo Action: $(word $(@:sequence-%=%),$(MAKECMDGOALS)) |
| 12 |
@$(MAKE) --no-print-directory -f build/main.mk \ |
| 13 |
$(word $(@:sequence-%=%),$(MAKECMDGOALS)) |
| 14 |
|
| 15 |
ACTION_COUNTER:=$(NEXT_ACTION_COUNTER) |
| 16 |
include build/entry-seq.mk |
| 17 |
endif |