Blame view

RIOT/examples/bindist/Makefile 1015 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  # name of your application
  APPLICATION = bindist
  
  # If no BOARD is found in the environment, use this default:
  BOARD ?= native
  
  # This has to be the absolute path to the RIOT base directory:
  RIOTBASE ?= $(CURDIR)/../..
  
  # Comment this out to disable code in RIOT that does safety checking
  # which is not needed in a production environment but helps in the
  # development process:
  CFLAGS += -DDEVELHELP
  
  # Change this to 0 show compiler invocation lines by default:
  QUIET ?= 1
  
  # bindist specific stuff:
  #
  # build and use module "abc".
  # use BIN_DIRS instead of DIRS, BIN_USEMODULE instead of USEMODULE,
  # to flag that the directory should only be included when doing a normal build,
  # and that the resulting .a should be saved when doing "make bindist"
  BIN_DIRS += abc
  BIN_USEMODULE += abc        # include "abc" module
  BIN_USEMODULE += bindist    # include application module (named $APPLICATION)
  
  # list of extra files to include in binary distribution
  DIST_FILES += Makefile
  
  include $(RIOTBASE)/Makefile.include