diff options
author | espie <espie@openbsd.org> | 2017-07-03 22:21:47 +0000 |
---|---|---|
committer | espie <espie@openbsd.org> | 2017-07-03 22:21:47 +0000 |
commit | 186e29d5ec91e4d773cee4e8d674351727eba759 (patch) | |
tree | 98aed1d2cca7e71dc03a056e2f06ba6e0fec4417 /usr.sbin/switchd | |
parent | sizeof(struct sockaddr_in) != sizeof(struct in_addr). (diff) | |
download | wireguard-openbsd-186e29d5ec91e4d773cee4e8d674351727eba759.tar.xz wireguard-openbsd-186e29d5ec91e4d773cee4e8d674351727eba759.zip |
no need to generate y.tab.h if nothing uses it, set YFLAGS to nothing
instead of CLEANFILES += y.tab.h
okay millert@
Diffstat (limited to 'usr.sbin/switchd')
-rw-r--r-- | usr.sbin/switchd/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |