work out how to do automatic array size determination
make files for gcc and clang compilers