From 1497dccd63a84b7ee2b229b1ad9c5c02718f2a78 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 19 Mar 2019 23:06:27 +0800 Subject: *rename --- source/3rd-party/SDL2/src/hidapi/hidtest/Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 source/3rd-party/SDL2/src/hidapi/hidtest/Makefile.am (limited to 'source/3rd-party/SDL2/src/hidapi/hidtest/Makefile.am') diff --git a/source/3rd-party/SDL2/src/hidapi/hidtest/Makefile.am b/source/3rd-party/SDL2/src/hidapi/hidtest/Makefile.am new file mode 100644 index 0000000..d278644 --- /dev/null +++ b/source/3rd-party/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