mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
Tweaks.
This commit is contained in:
parent
25096ae2b7
commit
67f1f37bd8
2 changed files with 17 additions and 2 deletions
15
src/Makemany
Normal file
15
src/Makemany
Normal file
|
@ -0,0 +1,15 @@
|
|||
all: $(TARG)
|
||||
|
||||
a.%: %.o $(OFILES)
|
||||
$(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
CLEANFILES+=$(TARG)
|
||||
NUKEFILES+=$(BIN)/$(TARG)
|
||||
|
||||
include $(PLAN9)/src/Makecommon
|
||||
|
||||
install: $(TARG)
|
||||
for i in $(TARG); do cp a.$$i $(BIN); done
|
||||
|
||||
|
||||
|
|
@ -4,10 +4,10 @@ $(TARG): $(OFILES)
|
|||
$(CC) -o $(TARG) $(OFILES) $(LDFLAGS)
|
||||
|
||||
CLEANFILES+=$(TARG)
|
||||
NUKEFILES+=$(PLAN9)/bin/$(TARG)
|
||||
NUKEFILES+=$(BIN)/$(TARG)
|
||||
|
||||
include $(PLAN9)/src/Makecommon
|
||||
|
||||
install: $(TARG)
|
||||
cp $(TARG) $(PLAN9)/bin
|
||||
cp $(TARG) $(BIN)
|
||||
|
||||
|
|
Loading…
Reference in a new issue