-# $OpenBSD: Makefile,v 1.4 2016/11/17 10:05:44 reyk Exp $
+# $OpenBSD: Makefile,v 1.5 2017/07/06 12:15:23 espie Exp $
SWITCHD= ${.CURDIR}/../switchd
GENERATED= ofp_map.c ofp10_map.c
SRCS+= ${GENERATED}
-CLEANFILES+= ${GENERATED} *~
+CLEANFILES+= ${GENERATED}
ofp_map.c: genmap.sh ${SWITCHD}/ofp_map.h ${SWITCHD}/../../sys/net/ofp.h
/bin/sh ${SWITCHD}/genmap.sh -i ${SWITCHD}/../../sys/net/ofp.h -t ofp \
-# $OpenBSD: Makefile,v 1.7 2017/07/03 22:21:47 espie Exp $
+# $OpenBSD: Makefile,v 1.8 2017/07/06 12:15:23 espie Exp $
PROG= switchd
MAN= switchd.8 switchd.conf.5
CFLAGS+= -Wsign-compare
GENERATED= ofp_map.c ofp10_map.c
-CLEANFILES+= ${GENERATED} *~
+CLEANFILES+= ${GENERATED}
YFLAGS=
ofp_map.c: genmap.sh ${.CURDIR}/ofp_map.h ${.CURDIR}/../../sys/net/ofp.h