Fix make V=1 (#120)

This commit is contained in:
V10lator 2020-04-30 13:56:57 +02:00 committed by GitHub
parent 090fd38606
commit 5d44ce12fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,27 +26,27 @@ MACHDEP = -DESPRESSO -mcpu=750 -meabi -mhard-float
#---------------------------------------------------------------------------------
%.rpx: %.elf
@cp $< $*.strip.elf
@$(STRIP) -g $*.strip.elf
@elf2rpl $*.strip.elf $@
$(SILENTCMD)$(STRIP) -g $*.strip.elf $(ERROR_FILTER)
$(SILENTCMD)elf2rpl $*.strip.elf $@ $(ERROR_FILTER)
@rm $*.strip.elf
@echo built ... $(notdir $@)
#---------------------------------------------------------------------------------
%.rpl: %.elf
@cp $< $*.strip.elf
@$(STRIP) -g $*.strip.elf
@elf2rpl --rpl $*.strip.elf $@
$(SILENTCMD)$(STRIP) -g $*.strip.elf $(ERROR_FILTER)
$(SILENTCMD)elf2rpl --rpl $*.strip.elf $@ $(ERROR_FILTER)
@rm $*.strip.elf
@echo built ... $(notdir $@)
#---------------------------------------------------------------------------------
%.elf:
@echo linking ... $(notdir $@)
@$(LD) $(LDFLAGS) $(OFILES) $(LIBPATHS) $(LIBS) -o $@
@$(NM) -CSn $@ > $(notdir $*.lst)
$(SILENTCMD)$(LD) $(LDFLAGS) $(OFILES) $(LIBPATHS) $(LIBS) -o $@ $(ERROR_FILTER)
$(SILENTCMD)$(NM) -CSn $@ > $(notdir $*.lst) $(ERROR_FILTER)
#---------------------------------------------------------------------------------
%.o: %.def
@echo $(notdir $<)
@rplimportgen $< $*.s
$(CC) -x assembler-with-cpp $(ASFLAGS) -c $*.s -o $@ $(ERROR_FILTER)
$(SILENTMSG) $(notdir $<)
$(SILENTCMD)rplimportgen $< $*.s $(ERROR_FILTER)
$(SILENTCMD)$(CC) -x assembler-with-cpp $(ASFLAGS) -c $*.s -o $@ $(ERROR_FILTER)