From e3bbf5c17dad2005fea862fe5e882525f986592e Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 11 Feb 2023 18:05:29 +0100 Subject: [PATCH] doc/examples: fix make command, reference Makefile.example Fix regression since b25d6290c67e193. --- doc/examples/README | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/examples/README b/doc/examples/README index c1ce619d35..6cb4b6e17a 100644 --- a/doc/examples/README +++ b/doc/examples/README @@ -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