mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-12-23 02:39:19 +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 :=
|
||||
PWD := $(subst $(NULLSTR) ,\ ,$(shell pwd))
|
||||
|
||||
include $(DEVKITPPC)/base_rules
|
||||
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
||||
CC := $(PREFIX)gcc
|
||||
AR := $(PREFIX)ar
|
||||
|
||||
OGC := $(DEVKITPRO)/libogc
|
||||
INCD := $(OGC)/include
|
||||
LIBD := $(OGC)/lib/wii
|
||||
INCD := $(DEVKITPRO)/libogc/include
|
||||
LIBD := $(DEVKITPRO)/libogc/lib/wii
|
||||
|
||||
MACHDEP := -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
|
||||
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")
|
||||
endif
|
||||
|
||||
include $(DEVKITPPC)/base_rules
|
||||
PREFIX := $(DEVKITPPC)/bin/powerpc-eabi-
|
||||
CC := $(PREFIX)gcc
|
||||
AR := $(PREFIX)ar
|
||||
|
||||
OGC := $(DEVKITPRO)/libogc
|
||||
INCD := $(OGC)/include
|
||||
LIBD := $(OGC)/lib/wii
|
||||
INCD := $(DEVKITPRO)/libogc/include
|
||||
LIBD := $(DEVKITPRO)/libogc/lib/wii
|
||||
|
||||
MACHDEP := -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
|
||||
CFLAGS := -O2 -Wall $(MACHDEP) -I $(INCD)
|
||||
|
|
Loading…
Reference in a new issue