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# 6# @(#)Makefile 1.1 (ucb.elefunt) 07/13/87 7# 8CFLAGS= -O 9LIBC= /lib/libc.a 10SRCS= atan2.c cabs.c trig.c 11OBJS= atan2.o cabs.o trig.o 12 13.c.o: 14 ${CC} -p ${CFLAGS} -c $*.c 15 -ld -X -r $*.o 16 mv a.out ../profiled/$*.o 17 ${CC} ${CFLAGS} -c $*.c 18 -ld -x -r $*.o 19 mv a.out $*.o 20 21all: ../libm.a ../libm_p.a 22 23../libm.a ../libm_p.a: ${OBJS} 24 cd ../profiled; ar cru ../libm_p.a ${OBJS} 25 ar cru ../libm.a ${OBJS} 26 27depend: FRC 28 mkdep ${CFLAGS} ${SRCS} 29 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 38atan2.o: atan2.c 39cabs.o: cabs.c 40trig.o: trig.c 41 42# IF YOU PUT ANYTHING HERE IT WILL GO AWAY 43