mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
Fix make V=1 (#120)
This commit is contained in:
parent
090fd38606
commit
5d44ce12fb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user