Correct printf specifiers to unsigned int where needed
[flac.git] / Scripts / cross-build-win-binaries.mk
index 5263636..9659655 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-#  Copyright (C) 2014  Xiph.Org Foundation
+#  Copyright (C) 2014-2016  Xiph.Org Foundation
 #
 #  This file is part the FLAC project.  FLAC is comprised of several
 #  components distributed under different licenses.  The codec libraries
@@ -39,8 +39,10 @@ flac-$(flac_version)-win//AUTHORS : win-build/.stamp-flac-win32-install win-buil
        mkdir -p flac-$(flac_version)-win/win32  flac-$(flac_version)-win/win64
        cp $(win_build)/flac32/bin/flac.exe flac-$(flac_version)-win/win32/
        cp $(win_build)/flac32/bin/metaflac.exe flac-$(flac_version)-win/win32/
+       $(win32_name)-strip flac-$(flac_version)-win/win32/*.exe
        cp $(win_build)/flac64/bin/flac.exe flac-$(flac_version)-win/win64/
        cp $(win_build)/flac64/bin/metaflac.exe flac-$(flac_version)-win/win64/
+       $(win64_name)-strip flac-$(flac_version)-win/win64/*.exe
        cp -r doc/html flac-$(flac_version)-win/
        rm -rf flac-$(flac_version)-win/html/api
        find flac-$(flac_version)-win/ -name Makefile\* -exec rm -f {} \;
@@ -115,3 +117,5 @@ win-build/libogg-$(ogg_version).tar.gz :
 configure : configure.ac autogen.sh
        ./autogen.sh
 
+clean :
+       rm -rf $(win_build) flac-$(flac_version)-win