#!/bin/sh
flags=""
case "$@" in
*--*)
	for arg
	do
		shift
		case "$arg" in
		--) break;;
		*) flags="$flags $arg";;
		esac
	done;;
esac
for srcfile
do
	/usr/bin/cpp -M -I.  $flags $srcfile 2>/dev/null
done
exit 0


syntax highlighted by Code2HTML, v. 0.9.1