2017-01-03 14:27:06 +01:00
|
|
|
.PHONY: buildfullrelease buildrelease mingw_test mingw_winamp mingw_xmplay sourceball mingwbin
|
2008-03-11 06:40:29 +01:00
|
|
|
|
2016-12-26 13:54:49 +01:00
|
|
|
buildfullrelease: clean sourceball mingwbin
|
|
|
|
|
|
|
|
buildrelease: clean mingwbin
|
2008-03-11 06:40:29 +01:00
|
|
|
|
2008-03-14 14:28:46 +01:00
|
|
|
sourceball:
|
2008-05-18 08:16:56 +02:00
|
|
|
rm -rf vgmstream-`./version.sh`
|
2015-01-22 01:28:43 +01:00
|
|
|
git checkout-index -f -a --prefix=vgmstream-`./version.sh`/
|
|
|
|
# git archive --format zip --output vgmstream-`./version.sh`.zip master
|
2008-05-18 08:16:56 +02:00
|
|
|
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`
|
2008-03-11 06:40:29 +01:00
|
|
|
|
2017-01-03 14:27:06 +01:00
|
|
|
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
|
2008-03-11 06:40:29 +01:00
|
|
|
|
|
|
|
mingw_test:
|
|
|
|
$(MAKE) -C test -f Makefile.mingw test.exe
|
|
|
|
|
|
|
|
mingw_winamp:
|
|
|
|
$(MAKE) -C winamp in_vgmstream.dll
|
|
|
|
|
2017-01-03 14:27:06 +01:00
|
|
|
mingw_xmplay:
|
|
|
|
$(MAKE) -C xmp-vgmstream xmp-vgmstream.dll
|
|
|
|
|
2008-03-11 06:40:29 +01:00
|
|
|
clean:
|
2017-01-03 14:27:06 +01:00
|
|
|
rm -f vgmstream-*.zip
|
|
|
|
$(MAKE) -C src clean
|
2008-03-11 06:40:29 +01:00
|
|
|
$(MAKE) -C test clean
|
|
|
|
$(MAKE) -C test -f Makefile.mingw clean
|
|
|
|
$(MAKE) -C winamp clean
|
2017-01-03 14:27:06 +01:00
|
|
|
$(MAKE) -C xmp-vgmstream clean
|
2008-06-15 07:43:40 +02:00
|
|
|
$(MAKE) -C ext_libs -f Makefile.mingw clean
|