Mcaster1AMP plugin compiler flags
=================================
C++17 (or C11), optimized, hidden visibility, shared library.

macOS (.dylib):
  clang++ -std=c++17 -O2 -fvisibility=hidden -dynamiclib \
    -I../include -o myplugin.dylib myplugin.c

Linux (.so):
  g++ -std=c++17 -O2 -fvisibility=hidden -shared -fPIC \
    -I../include -o myplugin.so myplugin.c

Windows (.dll, MinGW):
  g++ -std=c++17 -O2 -fvisibility=hidden -shared \
    -I../include -o myplugin.dll myplugin.c -Wl,--out-implib,myplugin.lib

If your plugin draws a custom Qt UI AND shares the host Qt runtime, add:
  $(pkg-config --cflags --libs Qt6Widgets)
