sdk-hwV1.3/lichee/melis-v3.0/source/scripts/Makefile.rename

14 lines
341 B
Makefile
Executable File

include $(MELIS_BASE)/scripts/Makefile.common
quiet_cmd_renameelf = RENAME $< ----> $(<:.o=.elf)
cmd_renameelf = mv $< $(<:.o=.elf)
quiet_cmd_renamelib = RENAME $(notdir $<) ----> $(notdir $(TARGET))
cmd_renamelib = mv $< $(TARGET)
always := rellib
PHONY += rellib clean
$(obj)/rellib: $(obj)/lib.a FORCE
$(call if_changed,renamelib)