clean-ups.
[unix-history] / usr / src / lib / libm / ieee / Makefile
CommitLineData
e0085737
ZAL
1#
2# Copyright (c) 1987 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
859dc438 6# @(#)Makefile 1.5 (ucb.elefunt) %G%
e0085737
ZAL
7#
8CFLAGS= -O
9LIBC= /lib/libc.a
4198c023
ZAL
10SRCS= cbrt.c support.c
11OBJS= cbrt.o support.o
e69bc8c4
ZAL
12
13.c.o:
14 ${CC} -p ${CFLAGS} -c $*.c
15 -ld -X -r $*.o
4198c023 16 mv a.out ../profiled/$*.o
e69bc8c4
ZAL
17 ${CC} ${CFLAGS} -c $*.c
18 -ld -x -r $*.o
19 mv a.out $*.o
20
4198c023 21all: ../libm.a ../libm_p.a
e69bc8c4 22
4198c023
ZAL
23../libm.a ../libm_p.a: ${OBJS}
24 cd ../profiled; ar cru ../libm_p.a ${OBJS}
25 ar cru ../libm.a ${OBJS}
e0085737
ZAL
26
27depend: FRC
28 mkdep ${CFLAGS} ${SRCS}
29
e0085737
ZAL
30tags: FRC
31 ctags ${SRCS}
32
33FRC:
34
35# DO NOT DELETE THIS LINE -- mkdep uses it.
36# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
37
4198c023
ZAL
38cbrt.o: cbrt.c
39support.o: support.c
e0085737
ZAL
40
41# IF YOU PUT ANYTHING HERE IT WILL GO AWAY