6bf85c9ba3
* use COPTS instead of CFLAGS for -fPIC et al * use ${COMPILE.c} instead of ${CC} ${CFLAGS} -c * use FILES and FILESDIR to install pc532 objects (instead of install: rule) - this makes it consistent with the other a.out ports (arm32, i386, m68k, sparc)
20 lines
319 B
Makefile
20 lines
319 B
Makefile
# $NetBSD: Makefile,v 1.10 1997/10/22 16:01:28 lukem Exp $
|
|
|
|
CPPFLAGS+= -DLIBC_SCCS
|
|
.if (${MACHINE_ARCH} != "powerpc")
|
|
COPTS+= -fpic
|
|
.endif
|
|
OBJS= c++rt0.o
|
|
|
|
all: ${OBJS}
|
|
|
|
c++rt0.o: c++rt0.c
|
|
${COMPILE.c} ${.ALLSRC}
|
|
@${LD} -x -r ${.TARGET}
|
|
@mv a.out ${.TARGET}
|
|
|
|
FILES=${OBJS}
|
|
FILESDIR=/usr/lib
|
|
|
|
.include <bsd.prog.mk>
|