2023-06-22 11:54:09 +00:00
|
|
|
GO_SUBDIRS := $(wildcard go-libp2p/*/.)
|
|
|
|
RUST_SUBDIRS := $(wildcard rust-libp2p/*/.)
|
|
|
|
HTTPS_SUBDIRS := $(wildcard https/*/.)
|
|
|
|
QUIC_GO_SUBDIRS := $(wildcard quic-go/*/.)
|
2023-09-14 16:49:46 +00:00
|
|
|
JS_SUBDIRS := $(wildcard js-libp2p/*/.)
|
2023-06-22 11:54:09 +00:00
|
|
|
|
2023-09-14 16:49:46 +00:00
|
|
|
all: $(RUST_SUBDIRS) $(GO_SUBDIRS) $(HTTPS_SUBDIRS) $(QUIC_GO_SUBDIRS) $(JS_SUBDIRS)
|
2023-06-22 11:54:09 +00:00
|
|
|
$(RUST_SUBDIRS):
|
|
|
|
$(MAKE) -C $@
|
|
|
|
$(GO_SUBDIRS):
|
|
|
|
$(MAKE) -C $@
|
|
|
|
$(HTTPS_SUBDIRS):
|
|
|
|
$(MAKE) -C $@
|
|
|
|
$(QUIC_GO_SUBDIRS):
|
|
|
|
$(MAKE) -C $@
|
2023-09-14 16:49:46 +00:00
|
|
|
$(JS_SUBDIRS):
|
|
|
|
$(MAKE) -C $@
|
2023-06-22 11:54:09 +00:00
|
|
|
|
2023-09-14 16:49:46 +00:00
|
|
|
clean: $(RUST_SUBDIRS:%=%clean) $(GO_SUBDIRS:%=%clean) $(HTTPS_SUBDIRS:%=%clean) $(QUIC_GO_SUBDIRS:%=%clean) $(JS_SUBDIRS:%=%clean)
|
2023-06-22 11:54:09 +00:00
|
|
|
|
|
|
|
%clean:
|
|
|
|
$(MAKE) -C $* clean
|
|
|
|
|
2023-09-14 16:49:46 +00:00
|
|
|
.PHONY: $(RUST_SUBDIRS) $(GO_SUBDIRS) $(HTTPS_SUBDIRS) $(QUIC_GO_SUBDIRS) $(JS_SUBDIRS) all clean
|