out.ppm : rtiaw ./$< > $@ rtiaw: $(wildcard *.go) go build .phony: view clean view: out.ppm xv out.ppm clean: rm -f rtiaw out.ppm