summaryrefslogtreecommitdiffstats
path: root/regress/lib/libusbhid/usage/Makefile
blob: d2c563c3fa8c6990c84d0637d640e89bf1c81a4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#	$OpenBSD: Makefile,v 1.1 2018/07/09 09:03:29 mpi Exp $

LDADD= -lusbhid
DPADD= ${LIBUSBHID}
WARNINGS= Yes
CFLAGS+= -Werror


PROG= parsetest
REGRESS_TARGETS+= run-regress-${PROG}-hex
REGRESS_TARGETS+= run-regress-${PROG}-dec
REGRESS_TARGETS+= run-regress-${PROG}-static

.include <bsd.regress.mk>

# hextest is commented in runparse.sh
run-regress-${PROG}-hex: ${PROG}
	sh ${.CURDIR}/runparse.sh hex "100002 100012"

run-regress-${PROG}-dec: ${PROG}
	sh ${.CURDIR}/runparse.sh dec "90002 A0002 810002"

run-regress-${PROG}-static: ${PROG}
	sh ${.CURDIR}/runparse.sh static "B0002 D0002 820012"