Makefile:.PRECIOUS

for some reasons make decides that build interrupted or so and removes intermediate results (or by some implecit rule) and delete files I've been interested in: %.ll, %.bc, %.s and %.o. .PRECIOUS helps to prevent such behaviour for selected files.
This commit is contained in:
Vasily Levchenko
2016-09-09 11:54:42 +03:00
parent d8ca14cb33
commit 4014eb026b
+2 -2
View File
@@ -23,10 +23,10 @@ TRANSLATOR_JAR=../translator/build/libs/translator-1.0.jar
%.asc:%.o
${LLVM_DWARF_DUMP} $< > $@
.PHONY: clean all
all:main.asc classfields_1.asc 2-functions.asc
clean:
${RM} *.o *.asc *.bc *.s main.ll
.PHONY: clean all
.PRECIOUS:%.ll %.bc %.s %.o