doc/examples: fix make command, reference Makefile.example

Fix regression since b25d6290c6.
This commit is contained in:
Stefano Sabatini 2023-02-11 18:05:29 +01:00
parent 051e1ed1e2
commit e3bbf5c17d
1 changed files with 5 additions and 3 deletions

View File

@ -7,8 +7,10 @@ that you have them installed and working on your system.
Method 1: build the installed examples in a generic read/write user directory
Copy to a read/write user directory and just use "make", it will link
to the libraries on your system, assuming the PKG_CONFIG_PATH is
Copy to a read/write user directory and run:
make -f Makefile.example
It will link to the libraries on your system, assuming the PKG_CONFIG_PATH is
correctly configured.
Method 2: build the examples in-tree
@ -20,4 +22,4 @@ examples using "make examplesclean"
If you want to try the dedicated Makefile examples (to emulate the first
method), go into doc/examples and run a command such as
PKG_CONFIG_PATH=pc-uninstalled make.
PKG_CONFIG_PATH=pc-uninstalled make -f Makefile.example