mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-24 23:10:10 +01:00
81cde73fef
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@164 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
28 lines
805 B
Makefile
28 lines
805 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 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-*
|
|
$(MAKE) -C test clean
|
|
$(MAKE) -C test -f Makefile.mingw clean
|
|
$(MAKE) -C winamp clean
|
|
$(MAKE) -C src clean
|