Dump build options during make

This commit is contained in:
sin 2013-08-07 11:56:03 +01:00
parent b90db5b7f7
commit 5da030ecec

View File

@ -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