Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
749B

  1. #!/bin/bash
  2. set -e
  3. # Preparation
  4. _FLAGS="-Werror"
  5. export CFLAGS="${_FLAGS}"
  6. export CXXFLAGS="${_FLAGS}"
  7. export LDFLAGS="-L/opt/kxstudio/lib"
  8. export PATH=/opt/kxstudio/bin:${PATH}
  9. export PKG_CONFIG_PATH=/opt/kxstudio/lib/pkgconfig:${PKG_CONFIG_PATH}
  10. # Start clean
  11. make distclean >/dev/null
  12. # Print available features
  13. make USING_JUCE=false features
  14. # Build native stuff
  15. make USING_JUCE=false all posix32 posix64
  16. # Build wine bridges
  17. make USING_JUCE=false wine32 wine64 plugin-wine
  18. # Build windows binaries for bridges
  19. env PATH=/opt/mingw32/bin:${PATH} make win32 USING_JUCE=false CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
  20. env PATH=/opt/mingw64/bin:${PATH} make win64 USING_JUCE=false CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++