peripherals  1.4.2
RoadNarrows Robotics Hardware Peripherals Package
Makefile
Go to the documentation of this file.
1 ################################################################################
2 #
3 # ./sw/libhid/ut/Makefile
4 #
5 ifdef RNMAKE_DOXY
6 /*!
7 \file
8 
9 \brief The librnr_hid library unit tests makefile.
10 
11 RN Make System Specific Makefile
12 
13 \pkgsynopsis
14 RoadNarrows Robotics Peripherals C++ Package
15 
16 \pkgfile{sw/libhid/ut/Makefile}
17 
18 \pkgauthor{Robin Knight,robin.knight@roadnarrows.com}
19 \pkgauthor{Daniel Packard,daniel@roadnarrows.com}
20 
21 \pkgcopyright{2011-2018,RoadNarrows LLC,http://www.roadnarrows.com}
22 
23 \license{MIT}
24 
25 \EulaBegin
26 \EulaEnd
27 
28  * \cond RNMAKE_DOXY
29  */
30 endif
31 #
32 ################################################################################
33 
34 #------------------------------------------------------------------------------
35 # Required
36 
37 # Package Root Directory
38 RNMAKE_PKG_ROOT = ../../..
39 
40 # Bootstrap package within RN Make System
41 include $(RNMAKE_PKG_ROOT)/make/Bootstrap.mk
42 
43 
44 #------------------------------------------------------------------------------
45 # Programs
46 
47 # Distribution Static Libraries
48 RNMAKE_TEST_PGMS = ut-libhid
49 
50 # Linked Libraries
51 ut-libhid.LIBS = gtest hid rnr pthread stdc++
52 ut-libhid.LIBDEPS = gtest hid
53 
54 # C++ Source Files
55 ut-libhid.SRC.CXX = ut-libhid-main.cxx \ ut-keyboard.cxx \ ut-HIDXbox360.cxx
56 
57 
58 #------------------------------------------------------------------------------
59 # Extras
60 
61 # Subpackage C PreProcessor Flags
62 EXTRA_CPPFLAGS = -DLOG -DLOGMOD="\"UTlibhid\""
63 
64 EXTRA_INCDIRS += /opt/include
65 
66 
67 #------------------------------------------------------------------------------
68 # Include RNMAKE rules makefile(s)
69 
70 # include top-level rules
71 include $(RNMAKE_ROOT)/Rules.mk
72 
73 
74 ifdef RNMAKE_DOXY
75 /*! \endcond RNMAKE_DOXY */
76 endif
77 
int main(int argc, char *argv[])
Main.
RoadNarrows Robotics standard namespace.
Definition: HID.h:65