Makefile to compile a pthread app in C

Makefile
# Target for building the program
build: hello
 
# Rule for building the 'hello' executable from 'hello.c'
hello: hello.c
	gcc hello.c -o hello -lpthread
 
# Phony target for cleaning up
.PHONY: clean
clean:
	rm -f hello