summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-30 13:48:04 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-30 13:48:04 +0000
commit290ac234bad3de577d9f5dea262aa44e6960fc54 (patch)
treee213c460f26b5e543a745ffd9edadb46b9713ddb
parentb6423cfe3e0d3e23e1ba4a0b8a5b9723f5ef17fd (diff)
(all): Remove target.
(include ../Makeconf): Place before all dependencies. ($(targets)): Each separate target should depend on its own .o.
-rw-r--r--utils/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 075e91ac..dda5820d 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -29,11 +29,11 @@ DIST_FILES = shd.ChangeLog
OBJS = $(filter-out loginpr.sh mount.sh sush.sh uptime.sh,$(SRCS:.c=.o))
-all: $(targets)
-
# This hack to get around ickiness in Makeconf
libutil-libsubst = -lutil
+include ../Makeconf
+
login: /gd4/hurdinst/lib/libutil.a # ick ick ick ick
ps w: psout.o ../libps/libps.a ../libihash/libihash.a
# We must include libthreads because of a bug in the way shared libraries
@@ -42,7 +42,7 @@ settrans: ../libfshelp/libfshelp.a ../libthreads/libthreads.a
ps w hurdids settrans showtrans fsysopts storeinfo login vmstat portinfo \
devprobe: ../libshouldbeinlibc/libshouldbeinlibc.a
-include ../Makeconf
-
%: %.sh
cp $< $@
+
+$(targets): %: %.o