summaryrefslogtreecommitdiff
path: root/apps/codecs/dumb/make/config.bat
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.bat
parent7e7662bb716917ca431204f0113d400c1014f2e8 (diff)
downloadrockbox-27be5bc72855a0fbbdae230bc144624c9eb85f5e.zip
rockbox-27be5bc72855a0fbbdae230bc144624c9eb85f5e.tar.gz
rockbox-27be5bc72855a0fbbdae230bc144624c9eb85f5e.tar.bz2
rockbox-27be5bc72855a0fbbdae230bc144624c9eb85f5e.tar.xz
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.bat')
-rw-r--r--apps/codecs/dumb/make/config.bat33
1 files changed, 33 insertions, 0 deletions
diff --git a/apps/codecs/dumb/make/config.bat b/apps/codecs/dumb/make/config.bat
new file mode 100644
index 0000000..2d33a61
--- /dev/null
+++ b/apps/codecs/dumb/make/config.bat
@@ -0,0 +1,33 @@
+@ECHO OFF
+
+REM This file does an interactive configuration for users of DOS and Windows.
+REM It creates a config.txt file for inclusion in the Makefile. This batch
+REM file should be run indirectly through the 'make config' target (or the
+REM 'make' target the first time).
+
+IF EXIST make\dumbask.exe GOTO dumbaskok
+ECHO You should not be running this directly! Use 'make' or 'make config'.
+GOTO end
+:dumbaskok
+
+make\dumbask.exe "Would you like to compile DUMB for DJGPP or MinGW (D/M)? " DM
+IF ERRORLEVEL 1 GOTO mingw
+ECHO include make/djgpp.inc>make\config.tmp
+GOTO djgpp
+:mingw
+ECHO include make/mingw.inc>make\config.tmp
+:djgpp
+
+ECHO ALL_TARGETS := core core-examples core-headers>>make\config.tmp
+
+make\dumbask.exe "Would you like support for Allegro (Y/N)? "
+IF NOT ERRORLEVEL 1 ECHO ALL_TARGETS += allegro allegro-examples allegro-headers>>make\config.tmp
+
+IF EXIST make\config.txt DEL make\config.txt
+REN make\config.tmp config.txt
+
+ECHO Configuration complete.
+ECHO Run 'make config' to change it in the future.
+PAUSE
+
+:end