mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
Installation folders for Wii and GameCube are different
This commit is contained in:
parent
396276c465
commit
fb568a0e29
2 changed files with 11 additions and 4 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
(cd GRRLIB && make clean all install)
|
(cd GRRLIB && make clean all install)
|
||||||
(cd examples && make)
|
(cd examples && make)
|
||||||
(cd GRRLIB && make PLATFORM=cube clean all)
|
(cd GRRLIB && make PLATFORM=cube clean all install)
|
||||||
|
|
||||||
- uses: actions/upload-artifact@master
|
- uses: actions/upload-artifact@master
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -12,16 +12,23 @@ endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),cube)
|
ifeq ($(PLATFORM),cube)
|
||||||
include $(DEVKITPPC)/gamecube_rules
|
include $(DEVKITPPC)/gamecube_rules
|
||||||
|
|
||||||
|
MACHDEP += -DHW_DOL
|
||||||
|
|
||||||
|
INSTALL_INC := $(DEVKITPRO)/portlibs/gamecube/include
|
||||||
|
INSTALL_LIB := $(DEVKITPRO)/portlibs/gamecube/lib
|
||||||
else
|
else
|
||||||
include $(DEVKITPPC)/wii_rules
|
include $(DEVKITPPC)/wii_rules
|
||||||
|
|
||||||
|
MACHDEP += -DHW_RVL
|
||||||
|
|
||||||
|
INSTALL_INC := $(DEVKITPRO)/portlibs/wii/include
|
||||||
|
INSTALL_LIB := $(DEVKITPRO)/portlibs/wii/lib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
NULLSTR :=
|
NULLSTR :=
|
||||||
PWD := $(subst $(NULLSTR) ,\ ,$(shell pwd))
|
PWD := $(subst $(NULLSTR) ,\ ,$(shell pwd))
|
||||||
|
|
||||||
INSTALL_INC := $(DEVKITPRO)/portlibs/ppc/include
|
|
||||||
INSTALL_LIB := $(DEVKITPRO)/portlibs/ppc/lib
|
|
||||||
|
|
||||||
INCLUDE := -I../lib/pngu -I$(PWD) -I$(LIBOGC_INC) -I$(DEVKITPRO)/portlibs/ppc/include -I$(DEVKITPRO)/portlibs/ppc/include/freetype2
|
INCLUDE := -I../lib/pngu -I$(PWD) -I$(LIBOGC_INC) -I$(DEVKITPRO)/portlibs/ppc/include -I$(DEVKITPRO)/portlibs/ppc/include/freetype2
|
||||||
CFLAGS := -O2 -Wall $(MACHDEP) $(INCLUDE)
|
CFLAGS := -O2 -Wall $(MACHDEP) $(INCLUDE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue