#
# Go through and make stuff
#
if ( "$1" == "" ) then
  set LIST='libsrc methodssrc htmlsrc src src/xmenu contrib contrib/xterm contrib/httpd'
else
  set LIST=$1
endif

foreach gdir (${LIST})
  if ( -e $gdir ) then
  foreach g ($gdir/makefile.*)
    echo making $g ...
    pushd $g:h > /dev/null
    make -f $g:t
    popd > /dev/null
    end
  endif
end
