mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
Tweaks.
This commit is contained in:
parent
4cecbbe678
commit
5adfe7e525
3 changed files with 10 additions and 5 deletions
10
src/Makefile
10
src/Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
all: $(TARG)
|
||||
|
||||
$(TARG): $(OFILES)
|
||||
$(CC) -o $(TARG) $(OFILES) $(LDFLAGS)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue