Without seeing/knowing more about the code, it's difficult to say. Anyways, if it's only 30 lines of C in one source file, you could just use gcc directly. The most basic form is:
gcc -o BINARY SOURCE_FILE.c
(Although you'll *very likely* need to provide more options.)
Makefiles and autotools stuff is useful with bigger projects, probably not for 30 lines of code
, IMO. Anyways, isn't there more info on the blog you mentioned?
And why do you think one source file will produce many binaries?