This commit is contained in:
rsc 2003-10-13 17:17:08 +00:00
parent 25096ae2b7
commit 67f1f37bd8
2 changed files with 17 additions and 2 deletions

15
src/Makemany Normal file
View 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

View file

@ -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)