2019-09-06 17:02:09 +02:00
|
|
|
# Compiling the projects with libutils logging code?
|
|
|
|
DO_LOGGING := 1
|
|
|
|
|
|
|
|
# Target filename
|
|
|
|
TARGET := $(notdir $(CURDIR)).mod
|
|
|
|
|
|
|
|
# Source directories
|
|
|
|
SOURCES := src src/utils src/fs
|
|
|
|
|
|
|
|
# Data directories
|
2019-11-24 14:14:45 +01:00
|
|
|
DATA := data
|
2019-09-06 17:02:09 +02:00
|
|
|
|
|
|
|
# Include directories
|
|
|
|
INCLUDES := src
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
# options for code generation and linking
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
# Extra C AND C++ compiler flags
|
|
|
|
COMMON_CFLAGS :=
|
|
|
|
# Extra C compiler flags
|
|
|
|
CFLAGS :=
|
|
|
|
# Extra C++ compiler flags
|
|
|
|
CXXFLAGS :=
|
|
|
|
# Extra linking flags for all linking steps
|
|
|
|
LDFLAGS :=
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
# list of directories containing libraries, this must be the top level containing
|
|
|
|
# include and lib
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
LIBDIRS := $(WUPSDIR) $(WUT_ROOT)
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
# any extra libraries we wish to link with the project
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
LIBS := -lwups -lwut
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
# 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
|
|
|
|
#---------------------------------------------------------------------------------
|
2019-11-24 14:14:45 +01:00
|
|
|
EXTERNAL_INCLUDE :=
|