diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makemany | 15 | ||||
-rw-r--r-- | src/Makeone | 4 |
2 files changed, 17 insertions, 2 deletions
diff --git a/src/Makemany b/src/Makemany new file mode 100644 index 00000000..d9a0b7e1 --- /dev/null +++ b/src/Makemany @@ -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 + + + diff --git a/src/Makeone b/src/Makeone index 59749064..752e3b11 100644 --- a/src/Makeone +++ b/src/Makeone @@ -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) |