-CFLAGS="-g -Wall -Wextra"
+# Enable more compiler warnings via -Wall and -Wextra. Add -fvisibility=hidden
+# and enforce use of SRD_API to explicitly mark all public API functions.
+CFLAGS="$CFLAGS -Wall -Wextra -fvisibility=hidden"
# Python support. We require at least Python >= 3.0.
AC_ARG_VAR([PYTHON3_CONFIG], [path to python3-config utility])
# Python support. We require at least Python >= 3.0.
AC_ARG_VAR([PYTHON3_CONFIG], [path to python3-config utility])
CPPFLAGS_PYTHON=""
LDFLAGS_PYTHON=""
case "$build" in
*mingw*)
# We currently hardcode the paths to the Python 3.2 default install
# location as there's no 'python-config' script on Windows, it seems.
CPPFLAGS_PYTHON=""
LDFLAGS_PYTHON=""
case "$build" in
*mingw*)
# We currently hardcode the paths to the Python 3.2 default install
# location as there's no 'python-config' script on Windows, it seems.
- CPPFLAGS_PYTHON="-I/c/Python32/include"
- LDFLAGS_PYTHON="-L/c/Python32/libs -lpython32"
+ CPPFLAGS_PYTHON="-I/c/Python32/include -Ic:/Python32/include"
+ LDFLAGS_PYTHON="-L/c/Python32/libs -Lc:/Python32/libs -lpython32"
decoders/mlx90614/Makefile
decoders/mx25lxx05d/Makefile
decoders/mxc6225xu/Makefile
decoders/nunchuk/Makefile
decoders/mlx90614/Makefile
decoders/mx25lxx05d/Makefile
decoders/mxc6225xu/Makefile
decoders/nunchuk/Makefile