emacs-config/Makefile

53 lines
1.4 KiB
Makefile

## Makefile --- emacs-config Makefile. -*- lexical-binding: t; -*-
# Copyright (C) 2024 Pierre-Antoine Rouby
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
MAKE=make
all: compile
compile: compile-src compile-ematrix compile-efetch compile-deep-nebula
compile-src:
$(info SRC)
$(MAKE) -C src compile
compile-ematrix:
$(info EMATRIX)
$(MAKE) -C ematrix compile
compile-efetch:
$(info EFETCH)
$(MAKE) -C emacs-fetch compile
compile-deep-nebula:
$(info DEEP-NEBULA)
$(MAKE) -C emacs-deep-nebula compile
install:
$(info INSTALL)
$(MAKE) -C src install
$(MAKE) -C ematrix install
$(MAKE) -C emacs-fetch install
$(MAKE) -C emacs-deep-nebula install
clean:
$(info CLEAN)
$(MAKE) -C src clean
$(MAKE) -C ematrix clean
$(MAKE) -C emacs-fetch clean
$(MAKE) -C emacs-deep-nebula clean