1 2 3 4 5 6 7
TEX := wood.png grass.png TEX_PATH := $(dir $(lastword $(MAKEFILE_LIST))) TEX := $(addprefix $(TEX_PATH), $(TEX)) %: %.src curl -o "$@" "$(shell cat $<)"