vgmstream/Makefile
halleyscometsw 55a9b6e220 clean up building a little
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@52 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
2008-03-14 13:28:46 +00:00

27 lines
681 B
Makefile

.PHONY: buildrelease mingw_test mingw_winamp sourceball mingwbin
buildrelease: clean sourceball mingwbin
sourceball:
rm -rf vgmstream.export
svn export . vgmstream.export
tar cvzf "vgmstream-`./version.sh`.tar.gz" vgmstream.export/*
rm -rf vgmstream.export
mingwbin: mingw_test mingw_winamp
zip -j "vgmstream-`./version.sh`-test.zip" readme.txt LICENSE test/test.exe winamp/in_vgmstream.dll
mingw_test:
$(MAKE) -C test -f Makefile.mingw test.exe
mingw_winamp:
$(MAKE) -C winamp in_vgmstream.dll
clean:
rm -f vgmstream-*.tar.gz
rm -f vgmstream-*-test.zip
$(MAKE) -C test clean
$(MAKE) -C test -f Makefile.mingw clean
$(MAKE) -C winamp clean
$(MAKE) -C src clean