FreeCalypso > hg > freecalypso-tools
view ringtools/e1-experiments/compile.sh @ 479:f2a040324509
Makefile hierarchy: CFLAGS override-ability actually works now
The original version was broken in that CFLAGS=${CFLAGS} passing was
done without quotes, which breaks as soon as there is a space in the
user-set CFLAGS. Changing it to CFLAGS="${CFLAGS}" makes it work
as originally intended.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 14 Feb 2019 04:59:23 +0000 |
parents | 64b37ad18f7a |
children |
line wrap: on
line source
#!/bin/sh if [ $# != 1 ] then echo "usage: $0 test_melody_name" 1>&2 exit 1 fi if [ ! -f "$1.src" ] then echo "error: can't find $1.src" 1>&2 exit 1 fi exec ../fc-e1gen "$1.src" "$1.bin"