mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-12-01 01:27:20 +01:00
9ae3307b15
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@363 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
29 lines
851 B
Makefile
29 lines
851 B
Makefile
.PHONY: buildrelease mingw_test mingw_winamp sourceball mingwbin
|
|
|
|
buildrelease: clean sourceball mingwbin
|
|
|
|
sourceball:
|
|
rm -rf vgmstream-`./version.sh`
|
|
svn export . vgmstream-`./version.sh`
|
|
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
|
|
zip -j "vgmstream-`./version.sh`-test.zip" readme.txt COPYING 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 -rf vgmstream-*
|
|
$(MAKE) -C test clean
|
|
$(MAKE) -C test -f Makefile.mingw clean
|
|
$(MAKE) -C winamp clean
|
|
$(MAKE) -C src clean
|
|
$(MAKE) -C ext_libs -f Makefile.mingw clean
|