Commit 1f61fe07 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/mkrules.mk: Allow to override name of libmicropython.a

Or alternatively, refer to an exact library file, not just phony target
"lib".
parent bae62d9a
......@@ -123,8 +123,9 @@ clean-prog:
.PHONY: clean-prog
endif
lib: $(OBJ)
$(AR) rcs libmicropython.a $^
LIBMICROPYTHON = libmicropython.a
lib $(LIBMICROPYTHON): $(OBJ)
$(AR) rcs $(LIBMICROPYTHON) $^
clean:
$(RM) -rf $(BUILD) $(CLEAN_EXTRA)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment