forked from nasa/CryptoLib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (27 loc) · 783 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
#
# 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
debug:
./support/scripts/docker_debug.sh
internal:
./support/scripts/internal_docker_build.sh
kmc:
./support/scripts/kmc_docker_build.sh
wolf:
./support/scripts/wolf_docker_build.sh