Dynamixel  2.9.5
RoadNarrows Robotics Dynamixel Package
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./examples/spintest/Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief The spintest example makefile.
10 
11 RN Make System Specific Makefile
12 
13 \pkgsynopsis
14 RoadNarrows Robotics \h_dynamixel Package
15 
16 \pkgfile{examples/spintest/Makefile}
17 
18 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
19 
20 \pkgcopyright{2011-2018,RoadNarrows LLC,http://www.roadnarrows.com}
21 
22 \license{MIT}
23 
24 \EulaBegin
25 \EulaEnd
26 
27  * \cond RNMAKE_DOXY
28  */
29 endif
30 #
31 ################################################################################
32 
33 #------------------------------------------------------------------------------
34 # Required
35 
36 # Package Root Directory
37 RNMAKE_PKG_ROOT = ../..
38 
39 # Bootstrap package within RN Make System
40 include $(RNMAKE_PKG_ROOT)/make/Bootstrap.mk
41 
42 
43 #------------------------------------------------------------------------------
44 # Programs
45 
46 RNMAKE_DIST_PGMS = spintest
47 
48 READLINE_LIBS = readline ncurses
49 READLINE_CPPFLAGS = -DHAVE_READLINE
50 
51 # Libraries to Link With
52 spintest.LIBS = rnr_dynamixel rnr_dxl rnr $(READLINE_LIBS) m
53 spintest.LIBDEPS = rnr_dynamixel rnr_dxl
54 
55 # C Source Files
56 spintest.SRC.C = spintest.c
57 
58 
59 #------------------------------------------------------------------------------
60 # Extras
61 
62 # Subpackage C PreProcessor Flags
63 EXTRA_CPPFLAGS = -DHAVE_READLINE -DLOG -DLOGMOD="\"spintest\""
64 
65 
66 #------------------------------------------------------------------------------
67 # Include RNMAKE rules makefile(s)
68 
69 # include top-level rules
70 include $(RNMAKE_ROOT)/Rules.mk
71 
72 
73 ifdef RNMAKE_DOXY
74 /*! \endcond RNMAKE_DOXY */
75 endif