summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am9
-rw-r--r--test/test.vcxproj1
2 files changed, 7 insertions, 3 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 00229f7..5725160 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,7 +1,10 @@
-bin_PROGRAMS = test
+bin_PROGRAMS = hptest
-test_LDADD = ../libusbhp/libusbhp.la
-test_SOURCES = \
+hptest_LDADD = $(UDEV_LIBS) ../libusbhp/libusbhp.la
+hptest_CXXFLAGS = -I../libusbhp $(UDEV_CFLAGS)
+hptest_SOURCES = \
test.cc
include_HEADERS =
+
+EXTRA_DIST = test.vcxproj
diff --git a/test/test.vcxproj b/test/test.vcxproj
index be61eef..db858cd 100644
--- a/test/test.vcxproj
+++ b/test/test.vcxproj
@@ -52,6 +52,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
+ <IncludePath>../libusbhp;$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>