all: command-capture run command-capture: main.c clang -O2 -o command-capture main.c run: execap rm -rf test ./command-capture `which clang` -o test test.c clean: rm -rf command-capture test .PHONY: all execap clean