mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-29 19:37:30 +01:00
clean up building a little
git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@52 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
parent
ea161c0500
commit
55a9b6e220
19
Makefile
19
Makefile
@ -1,12 +1,15 @@
|
||||
.PHONY: buildrelease mingw_test mingw_winamp
|
||||
.PHONY: buildrelease mingw_test mingw_winamp sourceball mingwbin
|
||||
|
||||
buildrelease: clean vgmstream.tar.gz vgmstream-test.zip
|
||||
buildrelease: clean sourceball mingwbin
|
||||
|
||||
vgmstream.tar.gz:
|
||||
tar cvzf vgmstream.tar.gz readme.txt LICENSE Makefile src test winamp
|
||||
sourceball:
|
||||
rm -rf vgmstream.export
|
||||
svn export . vgmstream.export
|
||||
tar cvzf "vgmstream-`./version.sh`.tar.gz" vgmstream.export/*
|
||||
rm -rf vgmstream.export
|
||||
|
||||
vgmstream-test.zip: mingw_test mingw_winamp
|
||||
zip -j vgmstream-test.zip readme.txt LICENSE test/test.exe winamp/in_vgmstream.dll
|
||||
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
|
||||
@ -15,8 +18,8 @@ mingw_winamp:
|
||||
$(MAKE) -C winamp in_vgmstream.dll
|
||||
|
||||
clean:
|
||||
rm -f vgmstream.tar.gz
|
||||
rm -f vgmstream-test.zip
|
||||
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
|
||||
|
@ -1 +1 @@
|
||||
echo "revision `svnversion`"
|
||||
echo "r`svnversion | tr : _`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user