NetBSD/sys/arch/atari/stand/installboot/Makefile
tsutsui 1088923901 Try to shrink binary size a bit.
- omit usage of options in SMALLPROG case
- use bool instead of int where appropriate
- rely on zero-initialized-bss
2015-08-12 17:59:51 +00:00

17 lines
369 B
Makefile

# $NetBSD: Makefile,v 1.9 2015/08/12 17:59:51 tsutsui Exp $
WARNS= 4
PROG= installboot
NOMAN= # defined
SRCS= installboot.c disklabel.c
BINDIR= /usr/mdec
.ifndef SMALLPROG
CPPFLAGS+= -DCHECK_OS_BOOTVERSION -DNO_USAGE
LDADD= -lkvm
.endif
# XXX needs proper struct or union to calculate boot sector uint16_t cksums
CFLAGS+= -fno-strict-aliasing
.include <bsd.prog.mk>