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\ lib9\
libbio\ libbio\
libdraw\ libdraw\
@ -7,13 +7,15 @@ DIRS=\
libregexp\ libregexp\
libthread\ libthread\
libutf\ libutf\
CMDS=\
mk\ mk\
sam\ sam\
samterm\ samterm\
clean all install: clean all install nuke:
for i in $(DIRS); \ for i in $(LIBS) $(DIRS); \
do \ do \
(echo $$i; cd $$i; $(MAKE) $*); \ (echo $$i; cd $$i; $(MAKE) $@); \
done done

View file

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

View file

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