From cc24315bfd72ce0c2a275e54869b8fe77a655a46 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 8 Dec 2020 15:46:23 +0300 Subject: Makefile: show make targets descriptions in the default target --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 15bdbd0..cfef452 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,12 @@ LDFLAGS = INSTALL = /usr/bin/env install PREFIX = /usr/local +all: + @echo make run: build voidnsrun. + @echo make install-run: install voidnsrun to $(PREFIX). + @echo make undo: build voidnsundo. + @echo make install-undo: install voidnsundo to $(PREFIX). + test: testserver testclient run: voidnsrun.o utils.o @@ -34,4 +40,4 @@ clean: %.o: %.c $(CC) $(CFLAGS) -c $^ -I. -o $@ -.PHONY: run undo install-run install-undo clean \ No newline at end of file +.PHONY: all run undo install-run install-undo clean \ No newline at end of file -- cgit v1.2.3