mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
[CHG] No need to include base_rules in Makefile now that dekitPro 18 is needed to compile the library
This commit is contained in:
parent
a9a83f9c98
commit
4a4a931797
2 changed files with 10 additions and 8 deletions
|
@ -11,11 +11,12 @@ endif
|
||||||
NULLSTR :=
|
NULLSTR :=
|
||||||
PWD := $(subst $(NULLSTR) ,\ ,$(shell pwd))
|
PWD := $(subst $(NULLSTR) ,\ ,$(shell pwd))
|
||||||
|
|
||||||
include $(DEVKITPPC)/base_rules
|
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
||||||
|
CC := $(PREFIX)gcc
|
||||||
|
AR := $(PREFIX)ar
|
||||||
|
|
||||||
OGC := $(DEVKITPRO)/libogc
|
INCD := $(DEVKITPRO)/libogc/include
|
||||||
INCD := $(OGC)/include
|
LIBD := $(DEVKITPRO)/libogc/lib/wii
|
||||||
LIBD := $(OGC)/lib/wii
|
|
||||||
|
|
||||||
MACHDEP := -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
|
MACHDEP := -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
|
||||||
CFLAGS := -O2 -Wall $(MACHDEP) -I$(PWD) -I$(INCD)
|
CFLAGS := -O2 -Wall $(MACHDEP) -I$(PWD) -I$(INCD)
|
||||||
|
|
|
@ -8,11 +8,12 @@ ifeq ($(strip $(DEVKITPRO)),)
|
||||||
$(error "Use export DEVKITPRO=<path to>devkitPRO and try again")
|
$(error "Use export DEVKITPRO=<path to>devkitPRO and try again")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(DEVKITPPC)/base_rules
|
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
||||||
|
CC := $(PREFIX)gcc
|
||||||
|
AR := $(PREFIX)ar
|
||||||
|
|
||||||
OGC := $(DEVKITPRO)/libogc
|
INCD := $(DEVKITPRO)/libogc/include
|
||||||
INCD := $(OGC)/include
|
LIBD := $(DEVKITPRO)/libogc/lib/wii
|
||||||
LIBD := $(OGC)/lib/wii
|
|
||||||
|
|
||||||
MACHDEP := -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
|
MACHDEP := -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
|
||||||
CFLAGS := -O2 -Wall $(MACHDEP) -I $(INCD)
|
CFLAGS := -O2 -Wall $(MACHDEP) -I $(INCD)
|
||||||
|
|
Loading…
Reference in a new issue