Make ps compile even if source tree isn't /usr/src

This commit is contained in:
Ben Gras 2005-10-03 11:01:21 +00:00
parent 15c6f7182b
commit 7c2b94fd56

View file

@ -9,9 +9,9 @@ all: ps
# process status utility # process status utility
ps: ps.c /usr/include/minix/config.h /usr/include/minix/const.h \ ps: ps.c /usr/include/minix/config.h /usr/include/minix/const.h \
/usr/src/kernel/const.h /usr/src/kernel/type.h \ ../../kernel/const.h ../../kernel/type.h \
/usr/src/kernel/proc.h /usr/src/servers/pm/mproc.h \ ../../kernel/proc.h ../../servers/pm/mproc.h \
/usr/src/servers/fs/fproc.h /usr/src/servers/fs/const.h ../../servers/fs/fproc.h ../../servers/fs/const.h
$(CC) -i $(CFLAGS) -o $@ ps.c $(CC) -i $(CFLAGS) -o $@ ps.c
install -S 32kw $@ install -S 32kw $@
install: /usr/bin/ps install: /usr/bin/ps