1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1998-03-14 02:29:24 +00:00
|
|
|
|
1999-01-04 08:01:04 +00:00
|
|
|
BINDIR?= /usr/mdec
|
|
|
|
CFLAGS+= -aout
|
1998-03-07 15:48:29 +00:00
|
|
|
.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:
|
1998-03-14 02:33:54 +00:00
|
|
|
ln -s ${.CURDIR}/../../../i386/include ${.OBJDIR}/machine
|