# a sample makefile # the target "hello" depends on hello.c. To generate it, run the cc command on the next line. hello: hello.c cc -o hello hello.c -lm # the target "clean" isn't exactly a program, it's an instruction to remove the old hello executable. clean: rm -f hello