minix/commands/ps/Makefile

26 lines
579 B
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Makefile for the process status utility.
#
u=/usr
CC= exec cc
CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
MAKE= exec make -$(MAKEFLAGS)
2005-06-20 11:23:55 +02:00
all: ps
2005-04-21 16:53:53 +02:00
# process status utility
ps: ps.c /usr/include/minix/config.h /usr/include/minix/const.h \
/usr/src/kernel/const.h /usr/src/kernel/type.h \
2005-05-04 11:27:47 +02:00
/usr/src/kernel/proc.h /usr/src/servers/pm/mproc.h \
2005-04-21 16:53:53 +02:00
/usr/src/servers/fs/fproc.h /usr/src/servers/fs/const.h
$(CC) -i $(CFLAGS) -o $@ ps.c
install -S 32kw $@
install: /usr/bin/ps
/usr/bin/ps: ps
install -cs -o bin -g kmem -m 2755 $? $@
# clean up compile results
clean:
rm -f *.bak ps