all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* compile all your Elisp with `native-compile'
@ 2023-02-21 20:28 Emanuel Berg
  0 siblings, 0 replies; only message in thread
From: Emanuel Berg @ 2023-02-21 20:28 UTC (permalink / raw)
  To: help-gnu-emacs

Here is how it can be done.

%.elc: %.el
	$(byte-compile) $< $(sed-filter)
	$(emacs) -Q \
            --batch \
	         --eval "(setq load-path (append load-path '($(packs)))))" \
	         --eval "(native-compile \"$<\")" $(sed-filter)

It's fast!

See complete Makefile:

  https://dataswamp.org/~incal/emacs-init/Makefile

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-21 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 20:28 compile all your Elisp with `native-compile' Emanuel Berg

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.