summaryrefslogtreecommitdiff
path: root/apps/codecs/dumb/make/config.sh
diff options
context:
space:
mode:
authorMichiel Van Der Kolk <not.valid@email.address>2005-03-17 20:50:03 +0000
committerMichiel Van Der Kolk <not.valid@email.address>2005-03-17 20:50:03 +0000
commit27be5bc72855a0fbbdae230bc144624c9eb85f5e (patch)
treeb553f1321df924c4b744ffcab48dce5f4f081f7d /apps/codecs/dumb/make/config.sh
parent7e7662bb716917ca431204f0113d400c1014f2e8 (diff)
downloadrockbox-27be5bc72855a0fbbdae230bc144624c9eb85f5e.tar.gz
rockbox-27be5bc72855a0fbbdae230bc144624c9eb85f5e.zip
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
Diffstat (limited to 'apps/codecs/dumb/make/config.sh')
-rwxr-xr-xapps/codecs/dumb/make/config.sh35
1 files changed, 35 insertions, 0 deletions
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 @@
1#!/bin/sh
2
3# This file does an interactive configuration for users of Unix-like systems.
4# It creates a config.txt file for inclusion in the Makefile. This script
5# should be run indirectly through the 'make config' target (or the 'make'
6# target the first time).
7
8if [ ! -e make/dumbask ]; then
9 echo "You should not be running this directly! Use 'make' or 'make config'."
10 exit
11fi
12
13echo 'include make/unix.inc' > make/config.tmp
14
15echo 'ALL_TARGETS := core core-examples core-headers' >> make/config.tmp
16
17if make/dumbask 'Would you like support for Allegro (Y/N)? ' YN; then
18 echo 'ALL_TARGETS += allegro allegro-examples allegro-headers' >> make/config.tmp
19fi
20
21
22if [ ! -z $DEFAULT_PREFIX ]; then
23echo "Please specify an installation prefix (default $DEFAULT_PREFIX)."
24echo -n '> '
25read PREFIX
26if [ -z $PREFIX ]; then PREFIX=$DEFAULT_PREFIX; fi
27echo "PREFIX := $PREFIX" >> make/config.tmp
28fi
29
30mv -f make/config.tmp make/config.txt
31
32echo 'Configuration complete.'
33echo "Run 'make config' to change it in the future."
34echo -n 'Press Enter to continue ... '
35read