guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 16/20: Mark test files as precious to prevent them from


From: Andy Wingo
Subject: [Guile-commits] 16/20: Mark test files as precious to prevent them from being deleted by make
Date: Sun, 28 Apr 2019 07:54:21 -0400 (EDT)

wingo pushed a commit to branch lightening
in repository guile.

commit 59ead16eab1f661110aed866acf0d44b0f10a7e0
Author: Andy Wingo <address@hidden>
Date:   Sun Apr 28 10:47:52 2019 +0200

    Mark test files as precious to prevent them from being deleted by make
---
 tests/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/Makefile b/tests/Makefile
index 4ba054a..7b6bbd4 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -29,6 +29,9 @@ test-ia32-%: CC = $(CC_IA32)
 test-ia32-%: %.c lightening-ia32.o test.h
        $(CC) $(CFLAGS) $(CPPFLAGS) -I.. -o $@ lightening-ia32.o $<
 
+.PRECIOUS: $(foreach TARGET,$(TARGETS),$(addprefix test-$(TARGET)-,$(TESTS)))
+.PRECIOUS: $(foreach TARGET,$(TARGETS),lightening-$(TARGET).o)
+
 clean:
        rm -f $(foreach TARGET,$(TARGETS),$(addprefix test-$(TARGET)-,$(TESTS)))
        rm -f $(foreach TARGET,$(TARGETS),lightening-$(TARGET).o)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]