From d7721f88bd8ff157bc17188b2de1184651f78ddc Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 7 Apr 1994 19:07:28 +0000 Subject: Formerly Makefile.~20~ --- Makefile | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a5f3b803..824e0599 100644 --- a/Makefile +++ b/Makefile @@ -20,15 +20,17 @@ dir := . include Makeconf LIB_SUBDIRS = libioserver libports libpager libfshelp libdiskfs libtrivfs -PROG_SUBDIRS = auth boot exec fstests hello ifsock init init.trim mkbootfs \ - proc term tmpfs ufs pflocal sh.trim -OTHER_SUBDIRS = hurd i386 doc +PROG_SUBDIRS = auth boot exec fstests hello ifsock init.trim mkbootfs \ + proc term tmpfs ufs pflocal sh.trim ps +OTHER_SUBDIRS = hurd i386 doc init SUBDIRS = $(LIB_SUBDIRS) $(PROG_SUBDIRS) $(OTHER_SUBDIRS) DIST_FILES = COPYING Makeconf Makefile Maketools README NEWS -all: - @echo Can\'t make all yet. +all: $(addsuffix -all,$(PROG_SUBDIRS)) + +%-all: + make -C $* all %-lndist: hurd-snap make -C $* lndist @@ -36,6 +38,12 @@ all: %-clean: make -C $* clean +%-relink: + make -C $* relink + +%-install: + make -C $* install + hurd-snap: mkdir hurd-snap @@ -44,3 +52,7 @@ dist: hurd-snap $(addsuffix -lndist,$(SUBDIRS)) lndist rm -rf hurd-snap clean: $(addsuffix -clean,$(LIB_SUBDIRS)) $(addsuffix -clean,$(PROG_SUBDIRS)) + +relink: $(addsuffix -relink,$(PROG_SUBDIRS)) + +install: $(addsuffix -install,$(PROG_SUBDIRS)) -- cgit v1.2.3