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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user