The program coco (conditional compilation) provides preprocessing as per Part 3 of the Fortran 95 Standard (the auxiliary third part of ISO/IEC 1539-1:1997). This part was withdrawn from the standard on 2011-05-10 (N1874).
http://www.daniellnagle.com/coco.html