September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
26
Task/Loops-For/Make/loops-for.make
Normal file
26
Task/Loops-For/Make/loops-for.make
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
all: line-5
|
||||
|
||||
ILIST != jot 5
|
||||
.for I in $(ILIST)
|
||||
|
||||
line-$(I): asterisk-$(I)-$(I)
|
||||
@echo
|
||||
|
||||
JLIST != jot $(I)
|
||||
. for J in $(JLIST)
|
||||
|
||||
. if "$(J)" == "1"
|
||||
. if "$(I)" == "1"
|
||||
asterisk-1-1:
|
||||
. else
|
||||
IM != expr $(I) - 1
|
||||
asterisk-$(I)-1: line-$(IM)
|
||||
. endif
|
||||
. else
|
||||
JM != expr $(J) - 1
|
||||
asterisk-$(I)-$(J): asterisk-$(I)-$(JM)
|
||||
. endif
|
||||
@printf \*
|
||||
|
||||
. endfor
|
||||
.endfor
|
||||
Loading…
Add table
Add a link
Reference in a new issue