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