forked from AdaCore/gnat-llvm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
41 lines (28 loc) · 746 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
all: sanity-check
$(MAKE) -C llvm-interface build gnatlib-automated
.PHONY: acats ccg-acats fixed-bugs ccg-tests llvm clean distclean
sanity-check:
@if ! [ -d llvm-interface/gnat_src ]; then \
echo "error: directory llvm-interface/gnat_src not found"; exit 1; \
fi
build build-opt clean gnatlib: sanity-check
$(MAKE) -C llvm-interface $@
gnatlib%: sanity-check
$(MAKE) -C llvm-interface $@
zfp: sanity-check
$(MAKE) -C llvm-interface $@
automated:
$(MAKE) -C llvm-interface bootstrap
llvm:
$(MAKE) -j1 -C llvm setup
$(MAKE) -C llvm llvm
acats:
$(MAKE) -C acats tests
ccg-acats:
$(MAKE) -C acats ccg
fixed-bugs:
$(MAKE) -C fixedbugs
ccg-tests:
$(MAKE) -C ccg-tests/tests
distclean: clean
$(MAKE) -C llvm clean