All pastes #261178 Raw Edit

Unnamed

public text v1 · immutable
#261178 ·published 2006-11-28 23:46 UTC
rendered paste body
# toggle these to switch between literal
# and 'pretty' outputs
#quiet =
quiet = quiet_


echo-cmd = $(if $($(quiet)cmd_$(1)), \
        echo '  $($(quiet)cmd_$(1))';)
cmd = @$(echo-cmd) $(cmd_$(1))


quiet_cmd_create = MAKING $@
cmd_create = echo test >$@


all:	myfile myotherfile

myfile:
	$(call cmd,create)

myotherfile:
	$(call cmd,create)