[Loader] Add the wups includes to the loader makefile

This commit is contained in:
Maschell 2018-02-04 16:35:13 +01:00
parent d5800f49a2
commit 4c2489c1ff

View File

@ -22,21 +22,24 @@ export CXX := $(PREFIX)g++
export AR := $(PREFIX)ar export AR := $(PREFIX)ar
export OBJCOPY := $(PREFIX)objcopy export OBJCOPY := $(PREFIX)objcopy
print-% : ; @echo $* = $($*)
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# TARGET is the name of the output # TARGET is the name of the output
# BUILD is the directory where object files & intermediate files will be placed # BUILD is the directory where object files & intermediate files will be placed
# SOURCES is a list of directories containing source code # SOURCES is a list of directories containing source code
# INCLUDES is a list of directories containing extra header files # INCLUDES is a list of directories containing extra header files
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
TARGET := wiiupluginloader TARGET := wiiupluginloader
BUILD := build BUILD := build
BUILD_DBG := $(TARGET)_dbg BUILD_DBG := $(TARGET)_dbg
SOURCES := src \ SOURCES := src/libelf \
src/libelf src/
DATA := DATA :=
INCLUDES := src \ INCLUDES := src/libelf \
src/libelf src/
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# options for code generation # options for code generation
@ -68,6 +71,7 @@ LIBS := -lm -lgcc -lutils -ldynamiclibs
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
LIBDIRS := $(CURDIR) \ LIBDIRS := $(CURDIR) \
$(DEVKITPPC)/lib \ $(DEVKITPPC)/lib \
$(DEVKITPRO)/wups \
$(DEVKITPPC)/lib/gcc/powerpc-eabi/4.8.2 $(DEVKITPPC)/lib/gcc/powerpc-eabi/4.8.2