freebsd-dev/sys/i386/boot/Makefile.inc
Bruce Evans 75d1228cbb Add -aout to CFLAGS centrally.
Set the default for BINDIR (to /usr/mdec) centrally.
1998-12-30 10:05:56 +00:00

23 lines
589 B
Makefile

# $Id: Makefile.inc,v 1.2 1998/03/12 12:23:27 bde Exp $
BINDIR?= /usr/mdec
CFLAGS+= -aout
.if exists(${.CURDIR}/../../../../include)
CFLAGS+= -nostdinc -I${.CURDIR}/../../../../include
.endif
CFLAGS+= -I${.CURDIR}/../../.. -I${.OBJDIR}
CLEANFILES+= machine
.if defined(SRCS)
${SRCS:M*.[sS]:R:S/$/.o/g} ${SRCS:M*.c:R:S/$/.o/g}: machine
${SRCS:M*.cc:R:S/$/.o/g} ${SRCS:M*.C:R:S/$/.o/g}: machine
${SRCS:M*.cxx:R:S/$/.o/g} ${SRCS:N*.h:R:S/$/.o/g}: machine
.endif
.if defined(OBJS)
${OBJS}: machine
.endif
beforedepend: machine
machine:
ln -s ${.CURDIR}/../../include ${.OBJDIR}/machine