-# $OpenBSD: Makefile,v 1.16 2019/11/28 00:17:12 bluhm Exp $
+# $OpenBSD: Makefile,v 1.17 2022/08/24 17:36:19 miod Exp $
MAN= boot.8
CPPFLAGS+=-nostdinc -I${.OBJDIR} -I${.CURDIR} -I${.CURDIR}/.. -I${S}
CPPFLAGS+=-DLOADADDRESS=0x8ff00000
CFLAGS+=-m4-nofpu -fno-pie
+CFLAGS+=-Wall -Wimplicit-function-declaration -Werror
AFLAGS+= -fno-pie
.PATH: ${S}/stand/boot
-# $OpenBSD: Makefile,v 1.11 2016/11/28 16:42:45 deraadt Exp $
+# $OpenBSD: Makefile,v 1.12 2022/08/24 17:36:19 miod Exp $
MAN= xxboot.8
CPPFLAGS+=-nostdinc -I${.OBJDIR} -I${.CURDIR}/.. -I${.CURDIR}/../../../..
CPPFLAGS+=-DLOADADDRESS=0x8ff00000 -DXXBOOT_SECTORS=${XXBOOT_SECTORS}
CFLAGS+=-m4-nofpu -fno-pie
+CFLAGS+=-Wall -Wimplicit-function-declaration -Werror
AFLAGS+= -fno-pie
OBJCOPY?=objcopy