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