|
|
1.1 root 1: CC=cc
2: CFLAGS=-g
3:
4: SRC=ps.h ps.c doselect.c printp.c fdprint.c \
5: getargs.c gettty.c getuname.c getfs.c sort.c nalloc.c
6:
7: OBJ=ps.o doselect.o printp.o fdprint.o \
8: getargs.o gettty.o getuname.o getfs.o sort.o nalloc.o
9:
10: ps: $(OBJ)
11: $(CC) -o $@ $(OBJ)
12:
13: $(OBJ): ps.h
14:
15: install: ps
16: cp ps /bin
17: strip /bin/ps
18: /etc/chown root /bin/ps
19: chmod a=rx,u+ws /bin/ps
20:
21: clean:
22: rm -f *.o ps nohup.out core jim.recover
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.