From 4c2489c1ff4095873e66394a40ecc3aa1e66692f Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 4 Feb 2018 16:35:13 +0100 Subject: [PATCH] [Loader] Add the wups includes to the loader makefile --- loader/Makefile | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/loader/Makefile b/loader/Makefile index 6ebb832..5d33db9 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -22,21 +22,24 @@ export CXX := $(PREFIX)g++ export AR := $(PREFIX)ar export OBJCOPY := $(PREFIX)objcopy +print-% : ; @echo $* = $($*) + #--------------------------------------------------------------------------------- # TARGET is the name of the output # BUILD is the directory where object files & intermediate files will be placed # SOURCES is a list of directories containing source code # INCLUDES is a list of directories containing extra header files #--------------------------------------------------------------------------------- -TARGET := wiiupluginloader -BUILD := build -BUILD_DBG := $(TARGET)_dbg -SOURCES := src \ - src/libelf +TARGET := wiiupluginloader +BUILD := build +BUILD_DBG := $(TARGET)_dbg +SOURCES := src/libelf \ + src/ + DATA := -INCLUDES := src \ - src/libelf +INCLUDES := src/libelf \ + src/ #--------------------------------------------------------------------------------- # options for code generation @@ -60,7 +63,7 @@ MAKEFLAGS += --no-print-directory #--------------------------------------------------------------------------------- # any extra libraries we wish to link with the project #--------------------------------------------------------------------------------- -LIBS := -lm -lgcc -lutils -ldynamiclibs +LIBS := -lm -lgcc -lutils -ldynamiclibs #--------------------------------------------------------------------------------- # list of directories containing libraries, this must be the top level containing @@ -68,6 +71,7 @@ LIBS := -lm -lgcc -lutils -ldynamiclibs #--------------------------------------------------------------------------------- LIBDIRS := $(CURDIR) \ $(DEVKITPPC)/lib \ + $(DEVKITPRO)/wups \ $(DEVKITPPC)/lib/gcc/powerpc-eabi/4.8.2