summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-03-21 02:54:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-03-21 02:54:59 +0000
commitc3ef99a87afbc111e8b363069303ca9cb9797e4f (patch)
treefe8366e3053c020fe87ffc3220aa30b1e9b0f429 /utils/Makefile
parentcc92419bfe4b4f46eb527358d43a2e07bb0abb2b (diff)
(vpath %.c): New decl.
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/utils/Makefile b/utils/Makefile
index ca9763a4..2ebdb303 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -19,7 +19,17 @@ dir := utils
makemode := utilities
SRCS = sh.c ps.c su.c settrans.c update.c clri.c sync.c reboot.c halt.c
-targets = sh settrans update clri sync reboot halt # su
+targets = sh ps settrans update clri sync reboot halt # su
DIST_FILES = sh.ChangeLog ps.ChangeLog
+HURDLIBS=libps # Only used by ps.
+
+CPPFLAGS += -I../lib
+
+vpath %.c ../lib
+
include ../Makeconf
+
+ps: ps.o ihash.o $(HURDLIBS-files) $(libc)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o ps ps.o $(HURDLIBS-files)
+