mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-16 15:49:23 +01:00
0d46322cbb
Add the requirement to have wut installed Modify the plugin makefile, now you need to enable malloc wrapping manually Change the calling behaviour of the "WUPS_APP_STATUS_CLOSED" hook. PPCExit does NOT get called when opening an application from the system menu. Add error output to the UDPLogger on failure.
56 lines
2.0 KiB
Makefile
56 lines
2.0 KiB
Makefile
# Compiling the projects with libutils logging code?
|
|
DO_LOGGING := 1
|
|
|
|
# Non WUT plugins need to wrap the malloc functions.
|
|
WRAP_MALLOC := 1
|
|
|
|
# Target filename
|
|
TARGET := $(notdir $(CURDIR)).mod
|
|
|
|
# Source directories
|
|
SOURCES := src
|
|
|
|
# Data directories
|
|
DATA :=
|
|
|
|
# Include directories
|
|
INCLUDES := src
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# options for code generation and linking
|
|
#---------------------------------------------------------------------------------
|
|
# Extra C compiler flags
|
|
CFLAGS :=
|
|
# Extra C++ compiler flags
|
|
CXXFLAGS :=
|
|
# Extra linking flags for all linking steps
|
|
LD_FLAGS :=
|
|
# extra linking flags for linking the temporarily elf file (using ld)
|
|
LD_FLAGS_ELF :=
|
|
# extra linking flags for linking the final mod file (using gcc/g++)
|
|
LD_FLAGS_MOD :=
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# list of directories containing libraries, this must be the top level containing
|
|
# include and lib
|
|
#---------------------------------------------------------------------------------
|
|
LIBDIRS := $(WUPSDIR) $(PORTLIBS)
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# any extra libraries we wish to link with the project
|
|
#---------------------------------------------------------------------------------
|
|
LIBS := -lwups -lutils -ldynamiclibs
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# Will be added to the final lib paths
|
|
# example:
|
|
# -L$C:/library1/lib
|
|
#---------------------------------------------------------------------------------
|
|
EXTERNAL_LIBPATHS :=
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# Will be added to the final include paths
|
|
# -IC:/library1/include
|
|
#---------------------------------------------------------------------------------
|
|
EXTERNAL_INCLUDE := -I$(PORTLIBS)/include/libutils
|