Makefile: Add a hint that cmake can be used directly

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2017-05-16 10:20:30 +02:00
parent 0707f52ebf
commit 9bf50beab0
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ $(BUILDLN):
test -e $(BUILDLN) || ln -s -f ${builddir} $(BUILDLN)
cmake ${builddir}/CMakeCache.txt:
$(ECHO) "Creating build directory and running cmake in it. You can also run CMake directly, if you want."
$(ECHO)
mkdir -p ${builddir}
$(ECHO) "Running cmake…"
cd ${builddir} && cmake $(CMAKE_ARGS) "$(@D)" ..