mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-07 02:16:02 +08:00

This makes them pass shellcheck. Except for a few unused export warnings. I also wonder if the majority of these files should be in the root of the project, or should be moved to "build-scripts" (or should still even exist). a few minor changes one more minor changes
22 lines
640 B
Bash
Executable File
22 lines
640 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# I'm sick and tired of all the churn the three versions of autoconf
|
|
# are causing in this repo. Stop committing the configure scripts
|
|
# and just autoregen.
|
|
./autogen.sh || exit 1
|
|
|
|
echo "Compiling DOSBox-X"
|
|
chmod +x configure
|
|
|
|
# for sdl-config
|
|
PATH=${GCCSDK_INSTALL_ENV}/bin:$PATH
|
|
CPPFLAGS=-I${GCCSDK_INSTALL_ENV}/include
|
|
LDFLAGS="-L${GCCSDK_INSTALL_ENV}/lib -static"
|
|
export PATH CPPFLAGS LDFLAGS
|
|
|
|
./configure --host=arm-unknown-riscos "${@}"
|
|
make -j3 || exit 1
|
|
elf2aif src/dosbox-x !DosBox-X/dosbox-x,ff8
|
|
cp contrib/fonts/FREECG98.BMP !DosBox-X/resources/freecg98.bmp,69c
|
|
dos2unix -n CHANGELOG !DosBox-X/CHANGELOG,fff
|