Makefile: show make targets descriptions in the default target

This commit is contained in:
Evgeny Zinoviev 2020-12-08 15:46:23 +03:00
parent 6488a9a76f
commit cc24315bfd

View File

@ -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
.PHONY: all run undo install-run install-undo clean