commit 6653f0134534f185125126914d5bbc7bc1ee63c6
parent fdf9b0bf88de3ff4b22b7de72599f829878cb490
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 13 Nov 2025 11:33:47 +0100
Correct the clean target in the makefile
The temporary input files for stardis were not being deleted. Their
names were incorrect. Furthermore, they were being “deleted” in the
normal clean target instead of the clean_test target (which is a
dependency of clean).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -184,7 +184,6 @@ clean: clean_test
rm -f $(DEP) $(OBJ) $(LIBNAME)
rm -f $(UTIL_DEP) $(UTIL_OBJ) smeteo
rm -f $(PLUGIN_DEP) $(PLUGIN_OBJ) libstardis_smeteo.so
- rm -f *.stl stardis_model.txt
rm -f .config .config_plugin libsmeteo.o smeteo.pc smeteo-local.pc
################################################################################
@@ -267,6 +266,7 @@ test_stardis_smeteo: config.mk smeteo-local.pc $(LIBNAME) libstardis_smeteo.so
clean_test:
rm -f $(TEST_DEP) $(TEST_OBJ) $(TEST_TGT)
rm -f test.txt rm Tsrf.txt Tsrf.pdf
+ rm -f *.stl stardis_model_imposed_flux.txt stardis_model_external_source.txt
for i in $(TEST_SRC); do rm -f "$$(basename "$${i}" ".c")"; done
Tsrf.pdf: $(PLUGIN) Tsrf.txt src/plot.gp