Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / lib / csu / pc532 / Makefile
blobbb1c66e8ed16c2bde0f363b251d6cf3027ba7ff6
1 # @(#)Makefile 5.6 (Berkeley) 5/22/91
3 CFLAGS= -O -DLIBC_SCCS
4 OBJS= crt0.o gcrt0.o
5 CLEANFILES+= gmon.o moncrt0.o core a.out
7 all: ${OBJS}
9 crt0.o: crt0.c
10 ${CC} ${CFLAGS} -c -DCRT0 ${.ALLSRC}
11 ${LD} -x -r ${.TARGET}
12 mv a.out ${.TARGET}
14 moncrt0.o: crt0.c
15 ${CC} ${CFLAGS} -c -DMCRT0 ${.ALLSRC} -o ${.TARGET}
16 ${LD} -x -r ${.TARGET}
17 mv a.out ${.TARGET}
19 gcrt0.o: moncrt0.o gmon.o
20 ${LD} -x -r -o ${.TARGET} moncrt0.o gmon.o
22 gmon.o: gmon.c gmon.h
23 ${CC} -c ${DEFS} ${.IMPSRC}
24 ${LD} -x -r ${.TARGET}
25 mv a.out ${.TARGET}
27 install:
28 install -o ${BINOWN} -g ${BINGRP} -m 444 ${OBJS} \
29 ${DESTDIR}/usr/lib
31 depend lint tags:
33 .include <bsd.prog.mk>