ubase

suckless linux base utils
git clone git://git.2f30.org/ubase.git
Log | Files | Refs | README | LICENSE

commit 5da030ecec26d4bf4f92ee3320a252148a0d314e
parent b90db5b7f7c75ce3775e422284e6074348413739
Author: sin <sin@2f30.org>
Date:   Wed Aug  7 11:56:03 +0100

Dump build options during make

Diffstat:
Makefile | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -25,7 +25,14 @@ OBJ = $(SRC:.c=.o) $(LIB) BIN = $(SRC:.c=) MAN = $(SRC:.c=.1) -all: binlib +all: options binlib + +options: + @echo ubase build options: + @echo "OS = $(OS)" + @echo "CFLAGS = $(CFLAGS)" + @echo "LDFLAGS = $(LDFLAGS)" + @echo "CC = $(CC)" binlib: util.a $(MAKE) bin