mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
####
|
|
#### Sample Makefile for building apps with the RIOT OS
|
|
####
|
|
#### The Sample Filesystem Layout is:
|
|
#### /this makefile
|
|
#### ../../RIOT
|
|
####
|
|
|
|
# name of your project
|
|
export PROJECT =foobar
|
|
|
|
# for easy switching of boards
|
|
ifeq ($(strip $(BOARD)),)
|
|
export BOARD = native
|
|
endif
|
|
|
|
# this has to be the absolute path of the RIOT-base dir
|
|
export RIOTBASE =$(CURDIR)/../../RIOT
|
|
|
|
# uncomment these lines if you want to use platform support from external
|
|
# repositories
|
|
#export RIOTCPU =$(CURDIR)/../../RIOT/thirdparty_cpu
|
|
#export RIOTBOARD =$(CURDIR)/../../RIOT/thirdparty_boards
|
|
|
|
## Modules to include.
|
|
|
|
#USEMODULE += shell
|
|
#USEMODULE += uart0
|
|
#USEMODULE += posix
|
|
#USEMODULE += vtimer
|
|
#USEMODULE += sht11
|
|
#USEMODULE += ltc4150
|
|
#USEMODULE += cc110x
|
|
#USEMODULE += fat
|
|
|
|
export INCLUDES = -I$(RIOTBOARD)/$(BOARD)/include -I$(RIOTBASE)/core/include -I$(RIOTCPU)/$(CPU)/include -I$(RIOTBASE)/sys/lib -I$(RIOTBASE)/sys/include/ -I$(RIOTBASE)/drivers/include/
|
|
|
|
QUIET := 1
|
|
ifeq($(QUIET),1)
|
|
AD=@
|
|
else
|
|
AD=
|
|
endif
|
|
export AD
|
|
|
|
include $(RIOTBASE)/Makefile.include
|