ifeq ($(strip $(DEVKITPPC)),) $(error "Please set DEVKITPPC in your environment. export DEVKITPPC=devkitPro/devkitPPC) endif include $(DEVKITPPC)/base_rules %.dol: %.elf @echo output ... $(notdir $@) @$(OBJCOPY) -O binary $< $@ #--------------------------------------------------------------------------------- %.elf: @echo linking ... $(notdir $@) @$(LD) $^ $(LDFLAGS) $(LIBPATHS) $(LIBS) -o $@