2018-06-28 22:27:25 +02:00
|
|
|
# Target filename
|
|
|
|
TARGET := $(notdir $(CURDIR)).mod
|
|
|
|
|
|
|
|
# Source directories
|
2019-11-18 11:50:03 +01:00
|
|
|
SOURCES := src src/utils
|
2018-06-28 22:27:25 +02:00
|
|
|
|
|
|
|
# Data directories
|
|
|
|
DATA :=
|
|
|
|
|
|
|
|
# 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
|
|
|
|
#---------------------------------------------------------------------------------
|
2019-11-17 17:43:09 +01:00
|
|
|
LIBDIRS := $(WUPSDIR) $(WUT_ROOT) $(PORTLIBS)
|
2018-06-28 22:27:25 +02:00
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
# any extra libraries we wish to link with the project
|
|
|
|
#---------------------------------------------------------------------------------
|
2019-11-18 11:50:03 +01:00
|
|
|
LIBS := -lwut -lwups
|
2018-06-28 22:27:25 +02:00
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
# 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-17 17:43:09 +01:00
|
|
|
EXTERNAL_INCLUDE :=
|