2008-03-14 14:28:46 +01:00
|
|
|
.PHONY: buildrelease mingw_test mingw_winamp sourceball mingwbin
|
2008-03-11 06:40:29 +01:00
|
|
|
|
2008-03-14 14:28:46 +01:00
|
|
|
buildrelease: clean sourceball mingwbin
|
2008-03-11 06:40:29 +01:00
|
|
|
|
2008-03-14 14:28:46 +01:00
|
|
|
sourceball:
|
|
|
|
rm -rf vgmstream.export
|
|
|
|
svn export . vgmstream.export
|
|
|
|
tar cvzf "vgmstream-`./version.sh`.tar.gz" vgmstream.export/*
|
|
|
|
rm -rf vgmstream.export
|
2008-03-11 06:40:29 +01:00
|
|
|
|
2008-03-14 14:28:46 +01:00
|
|
|
mingwbin: mingw_test mingw_winamp
|
|
|
|
zip -j "vgmstream-`./version.sh`-test.zip" readme.txt LICENSE test/test.exe winamp/in_vgmstream.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
|
|
|
|
|
|
|
|
clean:
|
2008-03-14 14:28:46 +01:00
|
|
|
rm -f vgmstream-*.tar.gz
|
|
|
|
rm -f vgmstream-*-test.zip
|
2008-03-11 06:40:29 +01:00
|
|
|
$(MAKE) -C test clean
|
|
|
|
$(MAKE) -C test -f Makefile.mingw clean
|
|
|
|
$(MAKE) -C winamp clean
|
|
|
|
$(MAKE) -C src clean
|