i2c  1.4.2
RoadNarrows Robotics I2C Package
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./cmds/i2cread/Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief The i2cread command makefile.
10 
11 The i2cread command reads bytes from an h_i2c device.
12 
13 An rnmake system package specific makefile.
14 
15 \pkgsynopsis
16 RoadNarrows \h_i2c Package
17 
18 \pkgfile{cmds/i2cread/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 = i2cread
49 
50 # Libraries to Link With
51 i2cread.LIBS = rnr_i2c rnr
52 i2cread.LIBDEPS = rnr_i2c
53 
54 
55 #------------------------------------------------------------------------------
56 # Sources
57 
58 #
59 # C Source Files
60 #
61 i2cread.SRC.C = i2cread.c
62 
63 #------------------------------------------------------------------------------
64 # Extras
65 #
66 
67 # Sub[Package] Extra Include Directories
68 EXTRA_INCDIRS = $(RNMAKE_PKG_ROOT)/cmds/include
69 
70 # Subpackage C PreProcessor Flags
71 EXTRA_CPPFLAGS = -DLOG -DLOGMOD="\"i2cread\""
72 
73 
74 #------------------------------------------------------------------------------
75 # Include RNMAKE top-level rules makefile
76 
77 include $(RNMAKE_ROOT)/Rules.mk
78 
79 
80 ifdef RNMAKE_DOXY
81 /*! \endcond RNMAKE_DOXY */
82 endif
string RNMAKE_PKG_ROOT
RN Package Root Directory (not python package)
Definition: setup.py:54
Definition: __init__.py:1