i2c  1.4.2
RoadNarrows Robotics I2C Package
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./cmds/i2cscan/Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief The i2cscan command makefile.
10 
11 The i2cscan command scans the \h_i2c Bus for connected devices.
12 
13 An rnmake system package specific makefile.
14 
15 \pkgsynopsis
16 RoadNarrows \h_i2c Package
17 
18 \pkgfile{cmds/i2cscan/Makefile}
19 
20 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
21 
22 \pkgcopyright{2007-2018,RoadNarrows LLC,http://www.roadnarrows.com}
23 
24 \license{MIT}
25 
26 \EulaBegin
27 \EulaEnd
28 
29  * \cond RNMAKE_DOXY
30  */
31 endif
32 #
33 ################################################################################
34 
35 #------------------------------------------------------------------------------
36 # Required
37 
38 # Package Root Directory
39 RNMAKE_PKG_ROOT = ../..
40 
41 # Bootstrap package within RN Make System
42 include $(RNMAKE_PKG_ROOT)/make/Bootstrap.mk
43 
44 
45 #------------------------------------------------------------------------------
46 # Programs
47 
48 RNMAKE_DIST_PGMS = i2cscan
49 
50 # Libraries to Link With
51 i2cscan.LIBS = rnr_i2c rnr
52 i2cscan.LIBDEPS = rnr_i2c
53 
54 
55 #------------------------------------------------------------------------------
56 # Sources
57 
58 #
59 # C Source Files
60 #
61 i2cscan.SRC.C = i2cscan.c
62 
63 
64 #------------------------------------------------------------------------------
65 # Extras
66 #
67 
68 # Sub[Package] Extra Include Directories
69 EXTRA_INCDIRS = $(RNMAKE_PKG_ROOT)/cmds/include
70 
71 # Subpackage C PreProcessor Flags
72 EXTRA_CPPFLAGS = -DLOG -DLOGMOD="\"i2cscan\""
73 
74 
75 #------------------------------------------------------------------------------
76 # Include RNMAKE top-level rules makefile
77 
78 include $(RNMAKE_ROOT)/Rules.mk
79 
80 
81 ifdef RNMAKE_DOXY
82 /*! \endcond RNMAKE_DOXY */
83 endif
string RNMAKE_PKG_ROOT
RN Package Root Directory (not python package)
Definition: setup.py:54
Definition: __init__.py:1