mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +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\
|
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
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
all: $(TARG)
|
||||||
|
|
||||||
$(TARG): $(OFILES)
|
$(TARG): $(OFILES)
|
||||||
$(CC) -o $(TARG) $(OFILES) $(LDFLAGS)
|
$(CC) -o $(TARG) $(OFILES) $(LDFLAGS)
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue