summaryrefslogtreecommitdiff
path: root/doc/building.dox
diff options
context:
space:
mode:
Diffstat (limited to 'doc/building.dox')
-rw-r--r--doc/building.dox2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/building.dox b/doc/building.dox
index 0deed13..0ca1bb7 100644
--- a/doc/building.dox
+++ b/doc/building.dox
@@ -190,7 +190,9 @@ Software that uses libinput should use pkg-config and the
Otherwise, the most rudimentary way to compile and link a program against
libinput is:
+@code
gcc -o myprogram myprogram.c `pkg-config --cflags --libs libinput`
+@endcode
For further information on using pkgconfig see the pkg-config documentation.