mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
23 lines
598 B
Makefile
23 lines
598 B
Makefile
# $Id: Makefile.inc,v 1.3 1998/03/14 02:33:54 kato 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}/../../../i386/include ${.OBJDIR}/machine
|