SRCDIR=""
SED=cat
-: ${CC=cc}
-: ${CC_MKDEP=$CC}
+: ${CC=cc} # use cc by default
+: ${CC_MKDEP=$CC} # select default compiler to generate dependencies
: ${CC_MKDEP_FLAGS="-M"} # cc -M usually produces dependencies
while :
SRCDIR=$2
shift; shift ;;
- # -c allows you to select a compiler to use (default is cc)
+ # -c allows you to select a compiler to use to generate
+ # dependencies. Leaves $CC alone.
-c)
CC_MKDEP=$2
shift; shift ;;
#
# files: $*
-# command: $CC $CC_MKDEP_FLAGS $files
+# command: $CC_MKDEP $CC_MKDEP_FLAGS $files
#
_EOF_