BSD 3 development
[unix-history] / usr / src / cmd / px / makefile
CommitLineData
fd992204
CH
1DESTDIR=
2CFLAGS = -O -d2
3
4px: int.o perror.o stats.o utilities.o malloc.o px.o
5 cc -O -o px int.o px.o utilities.o perror.o stats.o malloc.o -lm
6int.o: h00vars.h
7perror.o stats.o: h00vars.h h01errs.h
8utilities.o: h00vars.h h01errs.h h02opcs.h
9malloc.o: h01errs.h
10 cc -O -c -d2 -Ddebug malloc.c
11px.o: [0-3][0-9]*.s
12 cat [0-3][0-9]*.s | as -d2 -o px.o
13h01errs.h: errdata
14 ed - <make.ed1
15 rm -f E.s
16
17install: px
18 install -s px ${DESTDIR}/usr/ucb/px
19
20clean:
21 rm -f *.o px
22
23print:
24 @pr READ_ME makefile
25 @ls -l | pr
26 @pr opcpic h00vars.h int.c
27 @cat [0-3][0-9]*.s >tmp
28 @ed - tmp <make.ed2
29 @num <tmp | pr
30 @pr perror.c stats.c utilities.c
31 @rm -f tmp