d26a815b77
extra rbootd/boot rom cruft pointing at /usr/mdec since it either doesn't exist or doesn't work anyway, so who cares? :)
23 lines
585 B
Makefile
23 lines
585 B
Makefile
# $Id: Makefile.inc,v 1.3 1998/12/30 10:05:56 bde Exp $
|
|
|
|
BINDIR?= /boot
|
|
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
|