mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-16 11:33:20 +01:00
46108764d5
When linking using the .def there are some warnings that could be improved, ignore for now.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
.PHONY: buildfullrelease buildrelease mingw_test mingw_winamp mingw_xmplay sourceball mingwbin
|
|
|
|
buildfullrelease: clean sourceball mingwbin
|
|
|
|
buildrelease: clean mingwbin
|
|
|
|
sourceball:
|
|
rm -rf vgmstream-`./version.sh`
|
|
git checkout-index -f -a --prefix=vgmstream-`./version.sh`/
|
|
# git archive --format zip --output vgmstream-`./version.sh`.zip master
|
|
echo "#!/bin/sh" > vgmstream-`./version.sh`/version.sh
|
|
echo "echo \"`./version.sh`\"" >> vgmstream-`./version.sh`/version.sh
|
|
tar cvzf "vgmstream-`./version.sh`.tar.gz" vgmstream-`./version.sh`/*
|
|
rm -rf vgmstream-`./version.sh`
|
|
|
|
mingwbin: mingw_test mingw_winamp mingw_xmplay
|
|
zip -FS -j "vgmstream-`./version.sh`-test.zip" COPYING readme.txt test/test.exe winamp/in_vgmstream.dll xmp-vgmstream/xmp-vgmstream.dll ext_libs/*.dll
|
|
|
|
mingw_test:
|
|
$(MAKE) -C test -f Makefile.mingw test.exe
|
|
|
|
mingw_winamp:
|
|
$(MAKE) -C winamp in_vgmstream.dll
|
|
|
|
mingw_xmplay:
|
|
$(MAKE) -C xmp-vgmstream xmp-vgmstream.dll
|
|
|
|
clean:
|
|
rm -f vgmstream-*.zip
|
|
$(MAKE) -C src clean
|
|
$(MAKE) -C test clean
|
|
$(MAKE) -C test -f Makefile.mingw clean
|
|
$(MAKE) -C winamp clean
|
|
$(MAKE) -C xmp-vgmstream clean
|
|
$(MAKE) -C ext_libs -f Makefile.mingw clean
|