mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-23 18:44:19 -05:00
update devkitPPC rulesets
This commit is contained in:
parent
63952c3991
commit
e72b5b62ee
|
|
@ -8,9 +8,9 @@ export PATH := $(DEVKITPPC)/bin:$(PATH)
|
|||
#---------------------------------------------------------------------------------
|
||||
PREFIX := powerpc-gekko-
|
||||
|
||||
export AS := $(PREFIX)as
|
||||
export CC := $(PREFIX)gcc
|
||||
export CXX := $(PREFIX)g++
|
||||
export AS := $(PREFIX)as
|
||||
export AR := $(PREFIX)ar
|
||||
export OBJCOPY := $(PREFIX)objcopy
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@ ifeq ($(strip $(DEVKITPPC)),)
|
|||
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPro/devkitPPC)
|
||||
endif
|
||||
|
||||
export LIBOGC_INC := $(DEVKITPRO)/libogc/include
|
||||
export LIBOGC_LIB := $(DEVKITPRO)/libogc/lib/cube
|
||||
|
||||
include $(DEVKITPPC)/base_rules
|
||||
|
||||
%.dol: %.elf
|
||||
|
|
|
|||
17
dkppc/rules/wii_rules
Normal file
17
dkppc/rules/wii_rules
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
ifeq ($(strip $(DEVKITPPC)),)
|
||||
$(error "Please set DEVKITPPC in your environment. export DEVKITPPC=<path to>devkitPro/devkitPPC)
|
||||
endif
|
||||
|
||||
export LIBOGC_INC := $(DEVKITPRO)/libogc/include
|
||||
export LIBOGC_LIB := $(DEVKITPRO)/libogc/lib/wii
|
||||
|
||||
include $(DEVKITPPC)/base_rules
|
||||
|
||||
%.dol: %.elf
|
||||
@echo output ... $(notdir $@)
|
||||
@$(OBJCOPY) -O binary $< $@
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
%.elf:
|
||||
@echo linking ... $(notdir $@)
|
||||
@$(LD) $^ $(LDFLAGS) $(LIBPATHS) $(LIBS) -o $@
|
||||
Loading…
Reference in New Issue
Block a user