From 0c391fdbce5a079cf03e483eb6174dd47806163d Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 7 Aug 2019 21:08:47 +0800 Subject: *misc --- Source/external/SDL2/src/hidapi/hidtest/Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Source/external/SDL2/src/hidapi/hidtest/Makefile.am (limited to 'Source/external/SDL2/src/hidapi/hidtest/Makefile.am') diff --git a/Source/external/SDL2/src/hidapi/hidtest/Makefile.am b/Source/external/SDL2/src/hidapi/hidtest/Makefile.am new file mode 100644 index 0000000..d278644 --- /dev/null +++ b/Source/external/SDL2/src/hidapi/hidtest/Makefile.am @@ -0,0 +1,20 @@ +AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ + +## Linux +if OS_LINUX +noinst_PROGRAMS = hidtest-libusb hidtest-hidraw + +hidtest_hidraw_SOURCES = hidtest.cpp +hidtest_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la + +hidtest_libusb_SOURCES = hidtest.cpp +hidtest_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la +else + +# Other OS's +noinst_PROGRAMS = hidtest + +hidtest_SOURCES = hidtest.cpp +hidtest_LDADD = $(top_builddir)/$(backend)/libhidapi.la + +endif -- cgit v1.1-26-g67d0