This commit is contained in:
rsc 2003-10-01 03:01:08 +00:00
parent 4cecbbe678
commit 5adfe7e525
3 changed files with 10 additions and 5 deletions

View file

@ -1,4 +1,4 @@
DIRS=\
LIBS=\
lib9\
libbio\
libdraw\
@ -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

View file

@ -1,3 +1,5 @@
all: $(TARG)
$(TARG): $(OFILES)
$(CC) -o $(TARG) $(OFILES) $(LDFLAGS)

View file

@ -1,4 +1,4 @@
all: $(9SRC)/lib/$(LIB)
all install: $(9SRC)/lib/$(LIB)
$(9SRC)/lib/$(LIB): $(OFILES)
$(AR) $(ARFLAGS) $(9SRC)/lib/$(LIB) $(OFILES)
@ -6,3 +6,4 @@ $(9SRC)/lib/$(LIB): $(OFILES)
include $(9SRC)/Makecommon
NUKEFILES+=$(9SRC)/lib/$(LIB)