summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2020-12-08 15:46:23 +0300
committerEvgeny Zinoviev <me@ch1p.io>2020-12-08 15:46:23 +0300
commitcc24315bfd72ce0c2a275e54869b8fe77a655a46 (patch)
treee5e568265e49cbcd3e255f5133e5e725af371f55
parent6488a9a76f63557f9388d0f30edab268c1431249 (diff)
Makefile: show make targets descriptions in the default target
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
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