aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
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 <filename>.c `make <filename>`'
@echo ' To install <filename> `make target=<filename> install`'
@echo ' To uninstall <filename> `make target=<filename> uninstall`'
+ @echo ' To clean up `make clean`'
$(DESTDIR)$(bindir)/%: %