#!/bin/tcsh

unalias touch

find `pwd` -type f -name "Makefile" -print > `pwd`/MakefileList

foreach i ( `cat ./MakefileList` )
	echo "Processing $i ..."
	sed -e 's#-lfreetype#/opt/fsw4sun/freetype-2.1.7/lib/libfreetype.so.6#g' $i > /tmp/k
	mv -f /tmp/k $i
end

