summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am')
-rw-r--r--contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am b/contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am
new file mode 100644
index 0000000..b601307
--- /dev/null
+++ b/contrib/SDL-3.2.8/src/hidapi/hidtest/Makefile.am
@@ -0,0 +1,28 @@
1AM_CPPFLAGS = -I$(top_srcdir)/hidapi/
2
3## Linux
4if OS_LINUX
5noinst_PROGRAMS = hidtest-libusb hidtest-hidraw
6
7hidtest_hidraw_SOURCES = test.c
8hidtest_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la
9
10hidtest_libusb_SOURCES = test.c
11hidtest_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la
12else
13
14# Other OS's
15noinst_PROGRAMS = hidtest
16
17hidtest_SOURCES = test.c
18hidtest_LDADD = $(top_builddir)/$(backend)/libhidapi.la
19
20endif
21
22if OS_DARWIN
23AM_CPPFLAGS += -I$(top_srcdir)/mac/
24endif
25
26if OS_WINDOWS
27AM_CPPFLAGS += -I$(top_srcdir)/windows/
28endif