Browse Source

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

Or alternatively, refer to an exact library file, not just phony target
"lib".
pull/2354/merge
Paul Sokolovsky 8 years ago
parent
commit
1f61fe07a2
  1. 5
      py/mkrules.mk

5
py/mkrules.mk

@ -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)

Loading…
Cancel
Save