summaryrefslogtreecommitdiff
path: root/tools/test-header.sh
blob: b11285af7dc0d9ad1d8863ef624e797fb691e4ac (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")" test-header.c