all: test-stdout-stderr.c gcc -o test-noflush-nobuf -UFLUSH -UBUF test-stdout-stderr.c ./test-noflush-nobuf > out.noflush.nobuf 2>&1 gcc -o test-flush-nobuf -DFLUSH -UBUF test-stdout-stderr.c ./test-flush-nobuf > out.flush.nobuf 2>&1 gcc -o test-noflush-buf -UFLUSH -DBUF test-stdout-stderr.c ./test-noflush-buf > out.noflush.buf 2>&1 gcc -o test-flush-buf -DFLUSH -DBUF test-stdout-stderr.c ./test-flush-buf > out.flush.buf 2>&1 .PHONY: clean: rm -f out.* test-noflush-nobuf test-flush-nobuf test-noflush-buf test-flush-buf