Add a PRECIOUS target to make sure that make does not treat archive
headers as intermediate and ends up deleting them.
Signed-off-by: Felipe Huici
Reviewed-by: Roxana Nicolescu <nicolescu.roxana1996@gmail.com>
################################################################################
# Libray API headers
################################################################################
+# Make sure that make does not treat the headers from the archive as intermediate
+.PRECIOUS: $(LIBLUA_SRCS_BASE)/%.h
+
$(LIBLUA_SRCS_BASE)/%.h: $(LIBLUA_BUILD)/.origin
@# empty recipe to enforce dependency to archive extraction