Commit | Line | Data |
---|---|---|
fd992204 CH |
1 | DESTDIR= |
2 | CFLAGS = -O -d2 | |
3 | ||
4 | px: 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 | |
6 | int.o: h00vars.h | |
7 | perror.o stats.o: h00vars.h h01errs.h | |
8 | utilities.o: h00vars.h h01errs.h h02opcs.h | |
9 | malloc.o: h01errs.h | |
10 | cc -O -c -d2 -Ddebug malloc.c | |
11 | px.o: [0-3][0-9]*.s | |
12 | cat [0-3][0-9]*.s | as -d2 -o px.o | |
13 | h01errs.h: errdata | |
14 | ed - <make.ed1 | |
15 | rm -f E.s | |
16 | ||
17 | install: px | |
18 | install -s px ${DESTDIR}/usr/ucb/px | |
19 | ||
20 | clean: | |
21 | rm -f *.o px | |
22 | ||
23 | print: | |
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 |