From 792ef281df229d5748ef7049f4ffcf678588cfe7 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sun, 24 May 2015 20:26:13 +0100 Subject: Makefile now has a help target as well as the all target --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 1d6edc4..4f29283 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,14 @@ bindir = $(prefix)/bin all: @echo 'Error, target not specified.' + @make --no-print-directory help + +help: + @echo 'Usage:' @echo ' To compile .c `make `' @echo ' To install `make target= install`' @echo ' To uninstall `make target= uninstall`' + @echo ' To clean up `make clean`' $(DESTDIR)$(bindir)/%: % -- cgit v1.2.3-54-g00ecf