Add cmake and cpp init files to Makefile

This commit is contained in:
Tom Willemse 2018-05-07 00:04:45 -07:00
parent 6c950aca9d
commit 0cd94161b1

View file

@ -8,13 +8,14 @@ AUTOLOADS_FILE = site-lisp/site-autoloads.el
UNWANTED = $(AUTOLOADS_FILE) site-lisp/flycheck_% site-lisp/flycheck-% UNWANTED = $(AUTOLOADS_FILE) site-lisp/flycheck_% site-lisp/flycheck-%
SITE_LISPS = $(addsuffix c,$(filter-out $(UNWANTED),$(wildcard site-lisp/*.el))) SITE_LISPS = $(addsuffix c,$(filter-out $(UNWANTED),$(wildcard site-lisp/*.el)))
INIT_LISPS = init/oni-org-init.elc init/oni-js2-init.elc init/oni-gnus-init.elc \ INIT_LISPS = init/oni-org-init.elc init/oni-js2-init.elc init/oni-gnus-init.elc \
init/oni-cmake-init.elc init/oni-cpp-init.elc \
$(addsuffix .elc,$(basename $(wildcard init/*.org))) $(addsuffix .elc,$(basename $(wildcard init/*.org)))
VENDOR_DIRS = $(wildcard vendor-lisp/*) VENDOR_DIRS = $(wildcard vendor-lisp/*)
.PHONE: all snippets .PHONE: all snippets
all: $(SITE_LISPS) init.elc $(INIT_LISPS) $(AUTOLOADS_FILE) snippets all: $(SITE_LISPS) init.elc $(INIT_LISPS) $(AUTOLOADS_FILE) snippets
init.el init/oni-org-init.el init/oni-js2-init.el init/oni-gnus-init.el: init.org init.el init/oni-org-init.el init/oni-js2-init.el init/oni-gnus-init.el init/oni-cmake-init.el init/oni-cpp-init.el: init.org
$(call tangle,emacs-lisp) $(call tangle,emacs-lisp)
%.el: %.org %.el: %.org