summaryrefslogtreecommitdiff
path: root/test-header.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-03 10:43:52 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-03 10:43:52 -0400
commit09010ac6999db43e39cde92200fc4a10858f5c51 (patch)
treeb34d8ac968b31d8408409dd68094349a10cb589a /test-header.sh
parentb4d0dc48d6dcf6a3ed5e8b1412268eaf1cedd1c9 (diff)
stuff
Diffstat (limited to 'test-header.sh')
-rwxr-xr-xtest-header.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-header.sh b/test-header.sh
new file mode 100755
index 0000000000..b11285af7d
--- /dev/null
+++ b/test-header.sh
@@ -0,0 +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