1*dba7b0efSSimon J. Gerraty# $NetBSD: jobs-empty-commands.mk,v 1.2 2021/01/30 12:46:38 rillig Exp $ 2*dba7b0efSSimon J. Gerraty# 3*dba7b0efSSimon J. Gerraty# In jobs mode, the shell commands for creating a target are written to a 4*dba7b0efSSimon J. Gerraty# temporary file first, which is then run by the shell. In chains of 5*dba7b0efSSimon J. Gerraty# dependencies, these files would end up empty. Since job.c 1.399 from 6*dba7b0efSSimon J. Gerraty# 2021-01-29, these empty files are no longer created. 7*dba7b0efSSimon J. Gerraty# 8*dba7b0efSSimon J. Gerraty# https://mail-index.netbsd.org/current-users/2021/01/26/msg040215.html 9*dba7b0efSSimon J. Gerraty 10*dba7b0efSSimon J. Gerraty.MAKEFLAGS: -j1 11*dba7b0efSSimon J. Gerraty#.MAKEFLAGS: -dn # to see the created temporary files 12*dba7b0efSSimon J. Gerraty 13*dba7b0efSSimon J. Gerratyall: .PHONY step-1 14*dba7b0efSSimon J. Gerraty.for i i_plus_1 in ${:U:range=100:@i@$i $i@:[2..199]} 15*dba7b0efSSimon J. Gerratystep-$i: .PHONY step-${i_plus_1} 16*dba7b0efSSimon J. Gerraty.endfor 17*dba7b0efSSimon J. Gerratystep-100: .PHONY 18*dba7b0efSSimon J. Gerraty @echo 'action' 19