3 # Mes --- Maxwell Equations of Software
4 # Copyright © 2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
6 # This file is part of Mes.
8 # Mes is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or (at
11 # your option) any later version.
13 # Mes is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with Mes. If not, see <http://www.gnu.org/licenses/>.
21 if [ -n "$BUILD_DEBUG" ]; then
26 GUILE=${GUILE-$(command -v guile)}
27 GUILE_TOOLS=${GUILE_TOOLS-$(command -v guile-tools)}
37 guile/mescc/bytevectors.scm
38 guile/mescc/compile.scm
39 guile/mescc/i386/as.scm
42 guile/mescc/preprocess.scm
46 export host=$($GUILE -c "(display %host-type)")
48 #$GUILE --no-auto-compile -L guile -C guile -s build-aux/compile-all.scm $SCM_FILES
50 for i in $SCM_FILES; do
52 if [ $i -nt $go ]; then
54 $GUILE_TOOLS compile -L guile -L scripts -o $go $i
64 if [ $i -nt $go ]; then
66 $GUILE_TOOLS compile -L guile -L scripts -o $go $i