| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
The SOURCES build module

The SOURCES LUFA build system module, providing variables listing the various LUFA source files required to be build by a project for a given LUFA module. This module gives a way to reference LUFA source files symbolically, so that changes to the library structure do not break the library makefile.

To use this module in your application makefile, add the following code:

include $(LUFA_PATH)/Build/lufa_sources.mk

# Requirements

None.

# Targets

None

# Mandatory Parameters

`LUFA_PATH` | Path to the LUFA library core, either relative or absolute (e.g. `../LUFA-000000/LUFA/`).
`ARCH` | Architecture of the target processor (see Device and Hardware Support).

# Optional Parameters

None

# Module Provided Variables

`LUFA_SRC_USB` | List of LUFA USB driver source files.
`LUFA_SRC_USBCLASS` | List of LUFA USB Class driver source files.
`LUFA_SRC_TEMPERATURE` | List of LUFA temperature sensor driver source files.
`LUFA_SRC_SERIAL` | List of LUFA Serial U(S)ART driver source files.
`LUFA_SRC_TWI` | List of LUFA TWI driver source files.
`LUFA_SRC_PLATFORM` | List of LUFA architecture specific platform management source files.

# Module Provided Macros

None