-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
41 lines (41 loc) · 1.32 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
38
39
40
41
SHELL = /bin/bash
#-------------------------------------------------------------------------------
.PHONY: tests
#-------------------------------------------------------------------------------
all:
@ make lib
@ make tests
#-------------------------------------------------------------------------------
lib:
@ echo "> make lib ..."
@ gprbuild -p -P ada_lapack.gpr
#-------------------------------------------------------------------------------
tests:
@ echo "> make tests ..."
@ (cd tests; make all; make diff)
#-------------------------------------------------------------------------------
rm-dot:
@ rm -rf .build-*
@ (cd tests; make rm-dot)
#-------------------------------------------------------------------------------
rm-lib:
@ rm -rf lib-*
#-------------------------------------------------------------------------------
clean:
@ (cd tests; make clean)
#-------------------------------------------------------------------------------
veryclean:
@ (cd tests; make veryclean)
#-------------------------------------------------------------------------------
pristine:
@ make rm-dot
@ make rm-lib
@ (cd tests; make pristine)
#-------------------------------------------------------------------------------
# prepare files for github
github:
@ make pristine
@ make lib
@ (cd tests; make github)
@ make rm-dot
@ make rm-lib