source: trunk/minix/commands/ps/Makefile@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 561 bytes
Line 
1# Makefile for the process status utility.
2#
3u=/usr
4CC= exec cc
5CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
6MAKE= exec make -$(MAKEFLAGS)
7
8all: ps
9
10# process status utility
11ps: 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/fs/fproc.h ../../servers/fs/const.h
15 $(CC) -i $(CFLAGS) -o $@ ps.c
16 install -S 32kw $@
17install: /usr/bin/ps
18/usr/bin/ps: ps
19 install -cs -o bin -g kmem -m 2755 $? $@
20
21
22
23# clean up compile results
24clean:
25 rm -f *.bak ps
Note: See TracBrowser for help on using the repository browser.