hello.txt: hello       # hello.txt is the default target
	./hello > hello.txt # run hello and redirect stdout into hello.txt
	cat hello.txt       # send the content of hello.txt to stdout

hello: hello.o
	cc hello.o -o hello

clean:
	rm -f hello hello.o hello.txt
