From 186e29d5ec91e4d773cee4e8d674351727eba759 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 3 Jul 2017 22:21:47 +0000 Subject: no need to generate y.tab.h if nothing uses it, set YFLAGS to nothing instead of CLEANFILES += y.tab.h okay millert@ --- usr.sbin/switchd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/switchd') diff --git a/usr.sbin/switchd/Makefile b/usr.sbin/switchd/Makefile index 87eacd3749b..41f6436fd46 100644 --- a/usr.sbin/switchd/Makefile +++ b/usr.sbin/switchd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2016/10/07 08:49:53 reyk Exp $ +# $OpenBSD: Makefile,v 1.7 2017/07/03 22:21:47 espie Exp $ PROG= switchd MAN= switchd.8 switchd.conf.5 @@ -19,6 +19,7 @@ CFLAGS+= -Wsign-compare GENERATED= ofp_map.c ofp10_map.c CLEANFILES+= ${GENERATED} *~ +YFLAGS= ofp_map.c: genmap.sh ${.CURDIR}/ofp_map.h ${.CURDIR}/../../sys/net/ofp.h /bin/sh ${.CURDIR}/genmap.sh -i ${.CURDIR}/../../sys/net/ofp.h -t ofp \ -- cgit v1.2.3-59-g8ed1b