summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-07-07 01:47:59 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-07-07 01:47:59 +0000
commite41d537c4c5294263a372eac462921942728d67b (patch)
tree3235e24bb0898424b1dcb89defe41fd43885cb09
parent0e978f42f33f292e8002ed89342c3c71e859b590 (diff)
(OBJS): Don't include mount.sh.
(shd, su, clri, sync, reboot, halt, fsysopts): List object files here.
-rw-r--r--utils/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 213d03f2..def71ff6 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -19,7 +19,7 @@ dir := utils
makemode := utilities
SRCS = shd.c ps.c su.c settrans.c clri.c sync.c reboot.c halt.c showtrans.c mount.sh fsysopts.c
-OBJS = $(subst .c,.o,$(SRCS)) argz.o error.o
+OBJS = $(filter-out mount.sh,$(subst .c,.o,$(SRCS))) argz.o error.o
targets = shd ps settrans showtrans clri sync reboot halt su mount fsysopts
DIST_FILES = sh.ChangeLog
@@ -33,11 +33,17 @@ vpath %.c ../lib
include ../Makeconf
settrans: settrans.o start-trans.o argz.o error.o
-
showtrans: showtrans.o argz.o error.o
-
fsysopts: fsysopts.o argz.o error.o
-
ps: ps.o error.o ../libps/libps.a ../libihash/libihash.a
+shd: shd.o
+su: su.o
+clri: clri.o
+sync: sync.o
+reboot: reboot.o
+halt: halt.o
+fsysopts: fsysopts.o
+
+mount: mount.sh
CPPFLAGS-error.c = -Dprogram_name=program_invocation_name -DHAVE_VPRINTF -DSTDC_HEADERS -DHAVE_STRERROR