since there's only one makefile, so users can just type "make" instead of "make -f makefile.std".
based on contrib/gregbook/rpng2-x