htrdr

Solving radiative transfer in heterogeneous media
git clone git://git.meso-star.fr/htrdr.git
Log | Files | Refs | README | LICENSE

commit dbb51710c8ba034539ce7e20bbbaa7f482663690
parent a53e4fca30b0b2b73e3fb175383f6d263a0081ce
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Sat, 29 Mar 2025 19:07:36 +0100

core: Fix of the "uninstall" target in the Makefile

A quotation mark was not closed.

The Makefile.core file is executed like the others rather than being
explicitly invoked in the common targets of the main Makefile. The only
reason for not doing so was that its default target was invoked by the
other Makefiles. Now, all its other targets must be explicitly invoked
(clean, install, uninstall). Hence this change

Diffstat:
MMakefile | 2+-
MMakefile.core | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -27,6 +27,7 @@ include config.mk default install uninstall lint clean: + @$(MAKE) -fMakefile.core $@ @if [ "$(ATMOSPHERE)" == "ENABLE" ]; then $(MAKE) -fMakefile.atmosphere $@; fi @if [ "$(COMBUSTION)" == "ENABLE" ]; then $(MAKE) -fMakefile.combustion $@; fi @if [ "$(PLANETS)" == ENABLE ]; then $(MAKE) -fMakefile.planets $@; fi @@ -51,7 +52,6 @@ install_common: htrdr @$(SHELL) install.sh 644 "$(DESTDIR)$(MANPREFIX)/man5" doc/htrdr-materials.5 @$(SHELL) install.sh 644 "$(DESTDIR)$(MANPREFIX)/man5" doc/htrdr-obj.5 @$(SHELL) install.sh 644 "$(DESTDIR)$(MANPREFIX)/man5" doc/rnrl.5 - @$(MAKE) -fMakefile.core install uninstall_common: rm -f "$(DESTDIR)$(BINPREFIX)/htrdr" diff --git a/Makefile.core b/Makefile.core @@ -147,7 +147,7 @@ install: fi uninstall: - rm -f "$(DESTDIR)$(LIBPREFIX)/$(LIBNAME) + rm -f "$(DESTDIR)$(LIBPREFIX)/$(LIBNAME)" clean: rm -f $(LIBNAME) $(OBJ) $(DEP)