generate simple-tiles.pc using autotools
move CFLAGS and LDFLAGS to the right place
add math library
shuffle makefiles