#!/bin/bash for pkg in $(pkg-config --list-all | cut -f1 -d" "); do echo $pkg; pkg-config --cflags $pkg; done