1SUBDIRS = x86_64 armhf aarch64
2
3subdirs: $(SUBDIRS)
4
5BUILDDIRS = $(SUBDIRS:%=build-%)
6VERSIONDIRS = $(SUBDIRS:%=version-%)
7TESTDIRS = $(SUBDIRS:%=test-%)
8PUBLISHDIRS = $(SUBDIRS:%=publish-%)
9
10build: $(BUILDDIRS)
11version: $(VERSIONDIRS)
12test: $(TESTDIRS)
13publish: $(PUBLISHDIRS)
14
15.PHONY: subdirs $(BUILDDIRS) $(VERSIONDIRS) $(TESTDIRS) $(PUBLISHDIRS)
16.PHONY: build version test publish
17
18$(BUILDDIRS):
19	$(MAKE) -C $(@:build-%=%) build
20
21$(VERSIONDIRS):
22	$(MAKE) -C $(@:version-%=%) version
23
24$(TESTDIRS):
25	$(MAKE) -C $(@:test-%=%) test
26
27$(PUBLISHDIRS):
28	$(MAKE) -C $(@:publish-%=%) publish
29
30list:
31	docker images crossbario/autobahn-python*:*
32
33clean:
34	./removeall.sh
35