From 27be5bc72855a0fbbdae230bc144624c9eb85f5e Mon Sep 17 00:00:00 2001 From: Michiel Van Der Kolk Date: Thu, 17 Mar 2005 20:50:03 +0000 Subject: Initial check in dumb 0.9.2 - has a few usages of floating point that should be rewritten to fixed point. seems to compile cleanly for iriver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6197 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/dumb/make/config.sh | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 apps/codecs/dumb/make/config.sh (limited to 'apps/codecs/dumb/make/config.sh') diff --git a/apps/codecs/dumb/make/config.sh b/apps/codecs/dumb/make/config.sh new file mode 100755 index 0000000000..f42e141176 --- /dev/null +++ b/apps/codecs/dumb/make/config.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +# This file does an interactive configuration for users of Unix-like systems. +# It creates a config.txt file for inclusion in the Makefile. This script +# should be run indirectly through the 'make config' target (or the 'make' +# target the first time). + +if [ ! -e make/dumbask ]; then + echo "You should not be running this directly! Use 'make' or 'make config'." + exit +fi + +echo 'include make/unix.inc' > make/config.tmp + +echo 'ALL_TARGETS := core core-examples core-headers' >> make/config.tmp + +if make/dumbask 'Would you like support for Allegro (Y/N)? ' YN; then + echo 'ALL_TARGETS += allegro allegro-examples allegro-headers' >> make/config.tmp +fi + + +if [ ! -z $DEFAULT_PREFIX ]; then +echo "Please specify an installation prefix (default $DEFAULT_PREFIX)." +echo -n '> ' +read PREFIX +if [ -z $PREFIX ]; then PREFIX=$DEFAULT_PREFIX; fi +echo "PREFIX := $PREFIX" >> make/config.tmp +fi + +mv -f make/config.tmp make/config.txt + +echo 'Configuration complete.' +echo "Run 'make config' to change it in the future." +echo -n 'Press Enter to continue ... ' +read -- cgit v1.2.3