Commit 230d5cda authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

py/mkrules.mk: Define "lib" outside conditional block.

"lib" happened to be defined inside block conditional on $(PROG).
parent dcb90441
......@@ -115,9 +115,6 @@ ifndef DEBUG
endif
$(Q)$(SIZE) $(PROG)
lib: $(OBJ)
$(AR) rcs libmicropython.a $^
clean: clean-prog
clean-prog:
$(RM) -f $(PROG)
......@@ -126,6 +123,9 @@ clean-prog:
.PHONY: clean-prog
endif
lib: $(OBJ)
$(AR) rcs libmicropython.a $^
clean:
$(RM) -rf $(BUILD)
.PHONY: clean
......
Markdown is supported
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