|
|
1.1 root 1: # Makefile 4.2 83/07/02
2: #
3: # printf & co are here because they are machine dependent
4: #
5: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
6:
7: CFLAGS= -O -I$(DESTDIR)/usr/include
8:
9: OBJS= doprnt.o
10:
11: .c.o:
12: ${CC} -p ${CFLAGS} -c $*.c
13: -${LD} -X -r $*.o
14: mv a.out profiled/$*.o
15: ${CC} ${CFLAGS} -c $*.c
16: -${LD} -x -r $*.o
17: mv a.out $*.o
18:
19: stdiolib stdiolib_p: ${OBJS}
20: @echo "building profiled stdiolib"
21: @cd profiled; ar cru ../stdiolib_p ${OBJS}
22: @echo "building normal stdiolib"
23: @ar cru stdiolib ${OBJS}
24:
25: clean:
26: rm -f stdiolib stdiolib_p ${OBJS} profiled/*.o
27:
28: cleansrc:
29:
30: rm -f *.c Makefile
31:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.