Skip to content

Instantly share code, notes, and snippets.

@ivand58
Created December 26, 2018 08:43
Show Gist options
  • Save ivand58/9056926ec7756b2a32205984deb0a20f to your computer and use it in GitHub Desktop.
Save ivand58/9056926ec7756b2a32205984deb0a20f to your computer and use it in GitHub Desktop.
Generates include paths
for i in $(find -iname '*.h' -exec dirname "{}" \; | sort -u); do printf -- '-I %s\n' $i ;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment