diff options
Diffstat (limited to 'apps/codecs/dumb/make/config.bat')
-rw-r--r-- | apps/codecs/dumb/make/config.bat | 33 |
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 0000000000..2d33a61511 --- /dev/null +++ b/apps/codecs/dumb/make/config.bat | |||
@@ -0,0 +1,33 @@ | |||
1 | @ECHO OFF | ||
2 | |||
3 | REM This file does an interactive configuration for users of DOS and Windows. | ||
4 | REM It creates a config.txt file for inclusion in the Makefile. This batch | ||
5 | REM file should be run indirectly through the 'make config' target (or the | ||
6 | REM 'make' target the first time). | ||
7 | |||
8 | IF EXIST make\dumbask.exe GOTO dumbaskok | ||
9 | ECHO You should not be running this directly! Use 'make' or 'make config'. | ||
10 | GOTO end | ||
11 | :dumbaskok | ||
12 | |||
13 | make\dumbask.exe "Would you like to compile DUMB for DJGPP or MinGW (D/M)? " DM | ||
14 | IF ERRORLEVEL 1 GOTO mingw | ||
15 | ECHO include make/djgpp.inc>make\config.tmp | ||
16 | GOTO djgpp | ||
17 | :mingw | ||
18 | ECHO include make/mingw.inc>make\config.tmp | ||
19 | :djgpp | ||
20 | |||
21 | ECHO ALL_TARGETS := core core-examples core-headers>>make\config.tmp | ||
22 | |||
23 | make\dumbask.exe "Would you like support for Allegro (Y/N)? " | ||
24 | IF NOT ERRORLEVEL 1 ECHO ALL_TARGETS += allegro allegro-examples allegro-headers>>make\config.tmp | ||
25 | |||
26 | IF EXIST make\config.txt DEL make\config.txt | ||
27 | REN make\config.tmp config.txt | ||
28 | |||
29 | ECHO Configuration complete. | ||
30 | ECHO Run 'make config' to change it in the future. | ||
31 | PAUSE | ||
32 | |||
33 | :end | ||