Advertisement
Kitomas

combine audio and audioCOM

Jul 14th, 2023
1,049
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.43 KB | None | 0 0
  1. @echo off
  2. rem (this is to be run solely via a codeblocks post-build step)
  3. echo --combining kit_w32_audio .a(s)--
  4. cd kit_w32
  5.  
  6. mkdir tmp
  7. cp lib_kit_w32_audioCOM.a tmp
  8. cp libkit_w32_audio.a tmp
  9. cd tmp
  10.  
  11. ar -x lib_kit_w32_audioCOM.a
  12. ar -x libkit_w32_audio.a
  13. del *.a
  14.  
  15. ar -rv libkit_w32_audio.a *.o
  16. cp libkit_w32_audio.a ..
  17. del /q *.*
  18. cd ..
  19.  
  20. rmdir tmp
  21. echo --final size of "libkit_w32_audio.a"--
  22. dir libkit_w32_audio.a
  23. @echo on
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement