sm

sysmgr implemented in C
git clone git://git.ckyln.com/sm
Log | Files | Refs | README | LICENSE

commit e56da85c186df813c7801524dda79d70a9bbabff
parent 588b75b9b14b7c37c71ca8050cdd257f74890046
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat, 10 Oct 2020 14:44:29 +0300

Makefile: print configuration options

Diffstat:
MMakefile | 14++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -38,7 +38,17 @@ LIBUTIL = libutil.a OBJ = ${BINOBJ} ${LIBUTILOBJ} -all: ${BIN} +all: options ${BIN} + +options: + @printf '%s\n' \ + "build options for sysmgr:" \ + "PREFIX = ${PREFIX}" \ + "BINDIR = ${BINDIR}" \ + "MANPREFIX = ${MANPREFIX}" "" \ + "CFLAGS = ${CFLAGS}" \ + "LDFLAGS = ${LDFLAGS}" \ + "CPPFLAGS = ${CPPFLAGS}" "" ${BIN}: ${LIBUTIL} @@ -76,4 +86,4 @@ uninstall: for bin in ${BIN}; do rm -f ${DESTDIR}${BINDIR}/$${bin}; done for man in ${MAN}; do rm -f ${DESTDIR}${MANPREFIX}/man$${man##*.}/$${man##*/}; done -.PHONY: all clean install uninstall +.PHONY: all options clean install uninstall