Skip to content

Commit 0a56b43

Browse files
committed
Script for release build.
Removal of unnecessary debug output.
1 parent 027070b commit 0a56b43

3 files changed

Lines changed: 37 additions & 1 deletion

File tree

mkrel/build.sh

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/bash
2+
rm -rf OpenMRac
3+
rm -rf OpenMRac-data
4+
rm -rf release
5+
rm *.exe
6+
rm *.dat
7+
read -p "Press enter to continue, Ctrl+C to quit"
8+
mkdir release
9+
mkdir release/openmrac
10+
cp readme.txt release/openmrac || exit
11+
git clone https://github.com/Franticware/OpenMRac-data.git
12+
cd OpenMRac-data
13+
make
14+
cp openmrac.dat ../release/openmrac || exit
15+
cd ..
16+
git clone https://github.com/Franticware/OpenMRac.git --branch dos-3dfx --recursive
17+
cd OpenMRac/src/djgpp/
18+
./prereq.sh
19+
cd ..
20+
make -f Makefile.djgpp
21+
cp openmrac.exe set3dfx.exe ../../release/openmrac || exit
22+
cd ../../release
23+
7z a openmrac-$(date +'%Y%m%d')-dos openmrac
24+
cd ../OpenMRac
25+
git log -1 | cat
26+
cd ..

mkrel/readme.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
OpenMRac for DOS by Franticware
2+
3+
License for the program: BSD-2-Clause license
4+
License for the data: CC0-1.0 license
5+
6+
Check the following links for more information:
7+
https://github.com/Franticware/OpenMRac
8+
https://github.com/Franticware/OpenMRac-data
9+
https://www.franticware.com/openmrac
10+
11+
This software is based in part on the work of the Independent JPEG Group.

src/minial.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ ALCcontext* alcCreateContext(const ALCdevice* device, const ALCint* attrlist)
127127
{
128128
if (!alcContext->minialInterface->valid())
129129
{
130-
printf("a%d\n", __LINE__);
131130
delete alcContext->minialInterface;
132131
delete alcContext;
133132
return 0;

0 commit comments

Comments
 (0)