mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
32 lines
870 B
Makefile
32 lines
870 B
Makefile
####
|
|
#### Sample Makefile for building apps with the RIOT OS
|
|
####
|
|
#### The Sample Filesystem Layout is:
|
|
#### /this makefile
|
|
#### ../../RIOT
|
|
#### ../../boards for board definitions (if you have one or more)
|
|
####/..
|
|
|
|
# name of your project
|
|
export PROJECT =foobar
|
|
|
|
# for easy switching of boards
|
|
export BOARD = msb-430
|
|
|
|
# this has to be the absolute path of the RIOT-base dir
|
|
export RIOTBASE =$(CURDIR)/../../RIOT
|
|
export RIOTBOARD =$(CURDIR)/../../boards
|
|
|
|
## Modules to include.
|
|
|
|
#USEMODULE += shell
|
|
#USEMODULE += vtimer
|
|
#USEMODULE += sht11
|
|
#USEMODULE += ltc4150
|
|
#USEMODULE += cc110x
|
|
#USEMODULE += fat
|
|
|
|
export INCLUDES = -I$(RIOTBOARD)/$(BOARD)/include -I$(RIOTBASE)/core/include -I$(RIOTBASE)/cpu/$(CPU)/include -I$(RIOTBASE)/cpu/arm_common/include -I$(RIOTBASE)/sys/lib -I$(RIOTBASE)/sys/include/ -I$(RIOTBASE)/drivers/include/
|
|
|
|
include $(RIOTBASE)/Makefile.include
|