-
Notifications
You must be signed in to change notification settings - Fork 5
/
Makefile
37 lines (31 loc) · 1.09 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.PHONY: build-docker-katzenmint
build-docker-katzenmint:
docker build --no-cache -t katzenmint/pki -f Dockerfile.katzenmint .
.PHONY: build-docker-server
build-docker-server:
docker build --no-cache -t meson/server -f Dockerfile.server .
.PHONY: build-docker-containers
build-docker-containers: build-docker-katzenmint build-docker-server
.PHONY: clean-docker-images
clean-docker-images:
docker rmi -f $$(docker images | grep '^<none>' | awk '{print $$3}')
.PHONE: test-all
test-all:
@$(MAKE) $(MAKE_FLAGS) -C client/. test
@$(MAKE) $(MAKE_FLAGS) -C genconfig/. test
@$(MAKE) $(MAKE_FLAGS) -C katzenmint/. test
@$(MAKE) $(MAKE_FLAGS) -C plugin/. test
@$(MAKE) $(MAKE_FLAGS) -C server/. test
.PHONE: build-all
build-all:
@$(MAKE) $(MAKE_FLAGS) -C genconfig/. build
@$(MAKE) $(MAKE_FLAGS) -C katzenmint/. build
@$(MAKE) $(MAKE_FLAGS) -C plugin/. build
@$(MAKE) $(MAKE_FLAGS) -C server/. build
.PHONE: all
all:
@$(MAKE) $(MAKE_FLAGS) -C client/.
@$(MAKE) $(MAKE_FLAGS) -C genconfig/.
@$(MAKE) $(MAKE_FLAGS) -C katzenmint/.
@$(MAKE) $(MAKE_FLAGS) -C plugin/.
@$(MAKE) $(MAKE_FLAGS) -C server/.