mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-03 17:35:11 +01:00
51 lines
1.9 KiB
Makefile
51 lines
1.9 KiB
Makefile
# Compiling the projects with libutils logging code?
|
|
DO_LOGGING := 1
|
|
|
|
# Target filename
|
|
TARGET := $(notdir $(CURDIR)).mod
|
|
|
|
# Source directories
|
|
SOURCES := src \
|
|
src/common \
|
|
src/myfs \
|
|
|
|
# Data directories
|
|
DATA :=
|
|
|
|
# Include directories
|
|
INCLUDES := src
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# options for code generation
|
|
#---------------------------------------------------------------------------------
|
|
# Extra C compiler flags
|
|
CFLAGS :=
|
|
# Extra C++ compiler flags
|
|
CXXFLAGS := -D_GNU_SOURCE
|
|
|
|
#---------------------------------------------------------------------------------
|
|
# 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 -lfswrapper -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 \
|
|
-I$(PORTLIBS)/include/libfswrapper \
|
|
-I$(WUPSDIR)/include
|