1 # Makefile for the process status utility.
5 CFLAGS
= -O
-D_MINIX
-D_POSIX_SOURCE
6 MAKE
= exec make
-$(MAKEFLAGS
)
10 # process status utility
11 ps
: ps.c
/usr
/include/minix
/config.h
/usr
/include/minix
/const.h \
12 ..
/..
/kernel
/const.h ..
/..
/kernel
/type.h \
13 ..
/..
/kernel
/proc.h ..
/..
/servers
/pm
/mproc.h \
14 ..
/..
/servers
/vfs
/fproc.h ..
/..
/servers
/mfs
/const.h
15 $(CC
) -i
$(CFLAGS
) -o
$@ ps.c
19 install -cs
-o root
-m
4755 $?
$@
23 # clean up compile results