aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-14 02:12:30 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-14 02:12:30 -0500
commita8b65ff0682019ab912ebc1a3693262d9dd501d6 (patch)
tree1bea316080f33035775ba60280d10e78a6da8905 /Makefile
parenta6512da3bc6d5e1d9be79387e2438d36febd8de1 (diff)
downloadorg-link-edit-a8b65ff0682019ab912ebc1a3693262d9dd501d6.tar.gz
Makefile: Add autoload file to default rule
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 64d187c..e256b77 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ main_el := $(name).el
main_elc = $(main_el)c
AUTOLOADS_FILE := $(name)-autoloads.el
-all: $(main_elc)
+all: elc autoloads
.PHONY: autoloads
autoloads: $(AUTOLOADS_FILE)
@@ -18,11 +18,16 @@ $(AUTOLOADS_FILE): $(main_el)
clean:
$(RM) $(main_elc) $(AUTOLOADS_FILE)
+.PHONY: elc
+elc: $(main_elc)
+
.PHONY: help
help:
- @printf "\nTargets:\n\n"
- @printf " all Byte compile $(main_el).\n"
+ @printf "\nMain targets:\n\n"
+ @printf " all Byte compile and generate autoloads.\n"
@printf " autoloads Generate $(AUTOLOADS_FILE).\n"
+ @printf " elc Byte compile $(main_el).\n"
+ @printf "\nOther:\n\n"
@printf " clean Remove generated files.\n"
@printf " help Print this message.\n"
@printf " test Run tests.\n"