-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathMakefile
42 lines (32 loc) · 898 Bytes
/
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
38
39
40
41
42
#
# CryptoLib Makefile
#
# The "LOCALTGTS" defines the top-level targets that are implemented in this makefile
# Any other target may also be given, in that case it will simply be passed through.
LOCALTGTS := all clean debug internal kmc wolf
OTHERTGTS := $(filter-out $(LOCALTGTS),$(MAKECMDGOALS))
# As this makefile does not build any real files, treat everything as a PHONY target
# This ensures that the rule gets executed even if a file by that name does exist
.PHONY: $(LOCALTGTS) $(OTHERTGTS)
#
# Commands
#
all:
$(MAKE) internal
$(MAKE) kmc
$(MAKE) wolf
clean:
rm -rf ./build
rm -rf ./docs/wiki/_build
debug:
./support/scripts/docker_debug.sh
docs:
./support/scripts/documentation_build.sh
internal:
./support/scripts/internal_docker_build.sh
kmc:
./support/scripts/kmc_docker_build.sh
wolf:
./support/scripts/wolf_docker_build.sh
env:
./support/scripts/update_env.sh