File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ case $makepre in
7676esac
7777
7878# Newline for sed i and a commands
79- NL=" \ \
80- "
79+ NL=' \
80+ '
8181
8282# Main loop
8383for i in ${* -Setup}
@@ -120,8 +120,14 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
120120 cpps=
121121 libs=
122122 mods=
123+ skip=
123124 for arg in $line
124125 do
126+ case $skip in
127+ libs) libs=" $libs $arg " ; skip=; continue ;;
128+ cpps) cpps=" $cpps $arg " ; skip=; continue ;;
129+ srcs) srcs=" $srcs $arg " ; skip=; continue ;;
130+ esac
125131 case $arg in
126132 -[IDUC]* ) cpps=" $cpps $arg " ;;
127133 -[A-Zl]* ) libs=" $libs $arg " ;;
@@ -133,6 +139,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
133139 \$ * ) libs=" $libs $arg " ;;
134140 * .* ) echo 1>&2 " bad word $arg in $line "
135141 exit 1;;
142+ -u) skip=libs; libs=" $libs -u" ;;
136143 [a-zA-Z_]* ) mods=" $mods $arg " ;;
137144 * ) echo 1>&2 " bad word $arg in $line "
138145 exit 1;;
You can’t perform that action at this time.
0 commit comments