2018-03-10 13:26:43 +01:00
|
|
|
# Target filename
|
|
|
|
TARGET := $(notdir $(CURDIR)).mod
|
|
|
|
|
|
|
|
# Source directories
|
|
|
|
SOURCES := src
|
|
|
|
|
|
|
|
# Data directories
|
|
|
|
DATA :=
|
|
|
|
|
|
|
|
# Include directories
|
|
|
|
INCLUDES := src
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
2018-03-13 10:15:48 +01:00
|
|
|
# options for code generation and linking
|
2018-03-10 13:26:43 +01:00
|
|
|
#---------------------------------------------------------------------------------
|
2018-06-28 22:26:05 +02:00
|
|
|
# Extra C AND C++ compiler flags
|
|
|
|
COMMON_CFLAGS :=
|
2018-03-10 13:26:43 +01:00
|
|
|
# Extra C compiler flags
|
2018-06-28 22:26:05 +02:00
|
|
|
CFLAGS :=
|
2018-03-10 13:26:43 +01:00
|
|
|
# Extra C++ compiler flags
|
2018-06-28 22:26:05 +02:00
|
|
|
CXXFLAGS :=
|
2018-03-13 10:15:48 +01:00
|
|
|
# Extra linking flags for all linking steps
|
2018-06-28 22:26:05 +02:00
|
|
|
LDFLAGS :=
|
2018-03-10 13:26:43 +01:00
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
# list of directories containing libraries, this must be the top level containing
|
|
|
|
# include and lib
|
|
|
|
#---------------------------------------------------------------------------------
|
2019-11-18 11:50:03 +01:00
|
|
|
LIBDIRS := $(WUPSDIR) $(WUT_ROOT) $(PORTLIBS)
|
2018-03-10 13:26:43 +01:00
|
|
|
|
|
|
|
#---------------------------------------------------------------------------------
|
|
|
|
# any extra libraries we wish to link with the project
|
|
|
|
#---------------------------------------------------------------------------------
|
2019-11-18 11:50:03 +01:00
|
|
|
LIBS := -lwups -lwut
|
2018-03-10 13:26:43 +01: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
|
|
|
|
#---------------------------------------------------------------------------------
|
2018-06-28 22:26:05 +02:00
|
|
|
EXTERNAL_INCLUDE :=
|