summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcloder <cloder@openbsd.org>2005-12-10 19:19:49 +0000
committercloder <cloder@openbsd.org>2005-12-10 19:19:49 +0000
commitb8ad3e7ddcab4543faf78f2eeaaf22506ed09c74 (patch)
tree86725c45ffb2c397ce551f100b84be294d1477ee
parentadd a shutdown function and register it with shutdownhook_establish(). (diff)
downloadwireguard-openbsd-b8ad3e7ddcab4543faf78f2eeaaf22506ed09c74.tar.xz
wireguard-openbsd-b8ad3e7ddcab4543faf78f2eeaaf22506ed09c74.zip
Add a generate target
-rw-r--r--regress/usr.bin/xlint/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/regress/usr.bin/xlint/Makefile b/regress/usr.bin/xlint/Makefile
index ac49137934b..da9aabffe49 100644
--- a/regress/usr.bin/xlint/Makefile
+++ b/regress/usr.bin/xlint/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2005/12/10 19:16:56 cloder Exp $
+# $OpenBSD: Makefile,v 1.16 2005/12/10 19:19:49 cloder Exp $
TEST_MODULES= 1 2 3 4 5 6 7 8 9 10 12 13
LINT= lint
@@ -6,11 +6,18 @@ LINTFLAGS?= -chapbx
.for i in ${TEST_MODULES}
REGRESS_TARGETS+= test-${i}
+GENERATE_TARGETS+=generate-${i}
test-${i}:
${LINT} ${LINTFLAGS} test-${i}.c 2>&1 | diff -u ${.CURDIR}/test-${i}.c.exp -
+
+generate-${i}:
+ ${LINT} ${LINTFLAGS} test-${i}.c 2>&1 > ${.CURDIR}/test-${i}.c.exp
.endfor
-.PHONY: ${REGRESS_TARGETS}
+.PHONY: ${REGRESS_TARGETS} generate ${GENERATE_TARGETS}
+
+generate: ${GENERATE_TARGETS}
+
NOOBJ= Yes