diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2015-05-24 20:26:13 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2015-05-24 20:26:13 +0100 |
commit | 792ef281df229d5748ef7049f4ffcf678588cfe7 (patch) | |
tree | 5bae3e421019d97160d8f607164bc2dfd14e5967 | |
parent | d732b8cea5f301e6879bc2321a777490c8df9d27 (diff) | |
download | c-stuff-792ef281df229d5748ef7049f4ffcf678588cfe7.tar.gz c-stuff-792ef281df229d5748ef7049f4ffcf678588cfe7.tar.xz c-stuff-792ef281df229d5748ef7049f4ffcf678588cfe7.zip |
Makefile now has a help target as well as the all target
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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)/%: % |