mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
py/mkrules.mk: Allow to override name of libmicropython.a
Or alternatively, refer to an exact library file, not just phony target "lib".
This commit is contained in:
parent
bae62d9abe
commit
1f61fe07a2
@ -123,8 +123,9 @@ clean-prog:
|
|||||||
.PHONY: clean-prog
|
.PHONY: clean-prog
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lib: $(OBJ)
|
LIBMICROPYTHON = libmicropython.a
|
||||||
$(AR) rcs libmicropython.a $^
|
lib $(LIBMICROPYTHON): $(OBJ)
|
||||||
|
$(AR) rcs $(LIBMICROPYTHON) $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) -rf $(BUILD) $(CLEAN_EXTRA)
|
$(RM) -rf $(BUILD) $(CLEAN_EXTRA)
|
||||||
|
Loading…
Reference in New Issue
Block a user