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