From 8ed0c2ebfcc06e120cf68dcb0e185bd00f92a099 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sun, 15 Dec 2013 19:53:01 +0100 Subject: [PATCH] ordering it this way seems better --- configure | 225 ++++++++++++++++++++++++++---------------------------- 1 file changed, 108 insertions(+), 117 deletions(-) diff --git a/configure b/configure index a2dcc22..40dd588 100755 --- a/configure +++ b/configure @@ -3,93 +3,6 @@ progname="$0" -# -# Object lists -# - -# all_c_obj will be filled by print_objects -all_c_obj=() - -# executables is an array of variable names used in the makefile to -# name an executable; the list of objects is assumed to be -# in ${var}_OBJ -executables=(GMQCC QCVM TESTSUITE PAK) -print_all_rule() { - printf 'all:' - for i in "${executables[@]}"; do - printf ' $(%s)' "$i" - done - echo -} - -# create all the object variables: -print_objects() { - local common=(ansi.o util.o hash.o stat.o fs.o opts.o conout.o) - all_c_obj+=("${common[@]}") - local gmqcc=(main.o utf8.o - lexer.o parser.o ftepp.o - fold.o intrin.o correct.o - ast.o ir.o code.o) - all_c_obj+=("${gmqcc[@]}") - local qcvm=(exec.o) - all_c_obj+=("${qcvm[@]}") - local testsuite=(test.o) - all_c_obj+=("${testsuite[@]}") - local pak=(pak.o) - all_c_obj+=("${pak[@]}") - cat <