mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-12-22 18:39:18 +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: |
|
||||
(cd GRRLIB && make clean all install)
|
||||
(cd examples && make)
|
||||
(cd GRRLIB && make PLATFORM=cube clean all)
|
||||
(cd GRRLIB && make PLATFORM=cube clean all install)
|
||||
|
||||
- uses: actions/upload-artifact@master
|
||||
with:
|
||||
|
|
|
@ -12,16 +12,23 @@ endif
|
|||
|
||||
ifeq ($(PLATFORM),cube)
|
||||
include $(DEVKITPPC)/gamecube_rules
|
||||
|
||||
MACHDEP += -DHW_DOL
|
||||
|
||||
INSTALL_INC := $(DEVKITPRO)/portlibs/gamecube/include
|
||||
INSTALL_LIB := $(DEVKITPRO)/portlibs/gamecube/lib
|
||||
else
|
||||
include $(DEVKITPPC)/wii_rules
|
||||
|
||||
MACHDEP += -DHW_RVL
|
||||
|
||||
INSTALL_INC := $(DEVKITPRO)/portlibs/wii/include
|
||||
INSTALL_LIB := $(DEVKITPRO)/portlibs/wii/lib
|
||||
endif
|
||||
|
||||
NULLSTR :=
|
||||
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
|
||||
CFLAGS := -O2 -Wall $(MACHDEP) $(INCLUDE)
|
||||
|
||||
|
|
Loading…
Reference in a new issue