gldemos too
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
Nishi 2026-05-06 04:27:55 +09:00
commit 2dd2ae3f85
Signed by: nishi
GPG key ID: 27EF69B208EB9343
5 changed files with 174 additions and 16 deletions

View file

@ -4,19 +4,10 @@ wmake -f WatMakefile
rm -rf milsko
mkdir -p milsko-examples
cp src/Mw.dll milsko-examples/
cd examples/basic
for i in *.c; do
owcc -bnt -I../../include ../../src/Mw.lib -o../../milsko-examples/`echo $i | cut -d. -f1`.exe $i
cp examples/basic/*.exe milsko-examples/
for i in examples/gldemos/*.exe; do
cp $i milsko-examples/gl`echo $i | rev | cut -d/ -f1 | rev`
done
cd ../..
cd examples/gldemos
for i in *.c; do
if [ "$i" = "glutlayer.c" ]; then
continue
fi
owcc -bnt -I../../include ../../src/Mw.lib -o../../milsko-examples/gl`echo $i | cut -d. -f1`.exe $i opengl32.lib glu32.lib
done
cd ../..
rm -f milsko-examples.zip
cp resource/logo/logo.png examples/picture.jpg examples/picture.png milsko-examples/
zip -rv milsko-examples.zip milsko-examples