File:  [Research Unix] / researchv10no / cmd / ops / Makefile
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

CC=cc
CFLAGS= -DDMMIN=32

SRC=ps.h ps.c doselect.c printp.c fdprint.c \
getargs.c gettty.c getuname.c getfs.c sort.c nalloc.c

OBJ=ps.o doselect.o printp.o fdprint.o \
getargs.o gettty.o getuname.o getfs.o sort.o nalloc.o

ps:	& $(OBJ)
	rm -f $@
	$(CC) $(CFLAGS) -o $@ $(OBJ)
	chmod a=rx,u+ws $@

$(OBJ): ps.h

install: ps
	cp ps /bin
	strip /bin/ps
	/etc/chown root /bin/ps
	chmod a=rx,u+ws /bin/ps

clean:
	rm -f *.o ps nohup.out core jim.recover

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.