FLATlib is a simple, lightweight Fortran90 library for convolving a theoretical source with the Fermi-LAT IRFs (energy dispersion, point-spread function and effective area).