tTweaks. - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 5adfe7e525d79eb079f8f438dc2c37072da65b30 (DIR) parent 4cecbbe67853feea23201c7a8337e9244f4b3fe8 (HTM) Author: rsc <devnull@localhost> Date: Wed, 1 Oct 2003 03:01:08 +0000 Tweaks. Diffstat: M src/Makefile | 10 ++++++---- M src/Makeone | 2 ++ M src/Makesyslib | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) --- (DIR) diff --git a/src/Makefile b/src/Makefile t@@ -1,4 +1,4 @@ -DIRS=\ +LIBS=\ lib9\ libbio\ libdraw\ t@@ -7,13 +7,15 @@ DIRS=\ libregexp\ libthread\ libutf\ + +CMDS=\ mk\ sam\ samterm\ -clean all install: - for i in $(DIRS); \ +clean all install nuke: + for i in $(LIBS) $(DIRS); \ do \ - (echo $$i; cd $$i; $(MAKE) $*); \ + (echo $$i; cd $$i; $(MAKE) $@); \ done (DIR) diff --git a/src/Makeone b/src/Makeone t@@ -1,3 +1,5 @@ +all: $(TARG) + $(TARG): $(OFILES) $(CC) -o $(TARG) $(OFILES) $(LDFLAGS) (DIR) diff --git a/src/Makesyslib b/src/Makesyslib t@@ -1,4 +1,4 @@ -all: $(9SRC)/lib/$(LIB) +all install: $(9SRC)/lib/$(LIB) $(9SRC)/lib/$(LIB): $(OFILES) $(AR) $(ARFLAGS) $(9SRC)/lib/$(LIB) $(OFILES) t@@ -6,3 +6,4 @@ $(9SRC)/lib/$(LIB): $(OFILES) include $(9SRC)/Makecommon +NUKEFILES+=$(9SRC)/lib/$(LIB)