summaryrefslogtreecommitdiff
path: root/tools/test-header.sh
blob: d63177bde0b76cd946529c557239b101f58625d1 (plain)
1
2
#!/bin/bash
gcc -c -o /dev/null -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/libmount $(find src -type d |sed 's|^|-I&|') -include ./config.h -include "$(realpath -- "$1")" "$(dirname -- "$0")"/test-header.c