#targets := $(addsuffix ~DONE,$(wildcard *~update)) # #.PHONY: all #all: $(targets) %~update~DONE: %~update nsupdate -l "$<" touch "$@"