summaryrefslogtreecommitdiff
path: root/expand.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-09-09 05:37:40 +0000
committerRoland McGrath <roland@redhat.com>1994-09-09 05:37:40 +0000
commitc1433e94956cff151e5ea12950776f4e081f15b6 (patch)
treea3be8de9939299003f5d9f9fe3659e15117b728b /expand.c
parente4a94e02106b9ca299ca03c19133b3dc486196ba (diff)
downloadgunmake-c1433e94956cff151e5ea12950776f4e081f15b6.tar.gz
(other_args): Variable removed.
(goals, lastgoal): New static variables (moved from auto in main). (main): Don't process OTHER_ARGS at all. Don't set variable MAKEOVERRIDES at all; define MAKE to just $(MAKE_COMMAND). (init_switches): Prepend a - (return in order) instead of a + (require order). (decode_switches): Don't set OTHER_ARGS at all. Grok '\0' return from getopt_long as non-option argument; try variable definition and (if !ENV) enter goal targets here. (decode_env_switches): Use allocated_variable_expand to store value. Use find_next_token to simplify word-splitting loop. Don't prepend a dash to uninterpreted value. Instead, if split into only one word, try variable definition and failing that prepend a dash to the word and pass it to decode_switches as a single arg.
Diffstat (limited to 'expand.c')
0 files changed, 0 insertions, 0 deletions