|
|
1.1 root 1: # Makefile 4.2 83/07/05
2: #
3: CFLAGS= -O
4: STD= ftime.o gtty.o nice.o pause.o rand.o stty.o tell.o \
5: times.o utime.o vlimit.o vtimes.o
6: # these should just be pitched, but in the interest of compatibility...
7: TRASH= getpw.o
8: OBJS= ${STD} ${TRASH}
9:
10: .c.o:
11: ${CC} -p ${CFLAGS} -c $*.c
12: -ld -X -r $*.o
13: mv a.out profiled/$*.o
14: ${CC} ${CFLAGS} -c $*.c
15: -ld -x -r $*.o
16: mv a.out $*.o
17:
18: compat-4.1lib compat-4.1lib_p: ${OBJS}
19: @echo "building profiled compat-4.1lib"
20: @cd profiled; ar cru ../compat-4.1lib_p ${OBJS}
21: @echo "buiding normal compat-4.1lib"
22: @ar cru compat-4.1lib ${OBJS}
23:
24: clean:
25: rm -f compat-4.1lib compat-4.1lib_p ${OBJS} profiled/*.o
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.