#!/bin/csh

cp Makefile_nodep Makefile
foreach f (*.c *.cc)
  gcc -MM -I../cfitsio $f >> Makefile
end
