-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
43 lines (38 loc) · 928 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
43
.PHONY : all
all :
$(MAKE) --directory=src all
.PHONY : asofi3D sofi3D asofi3d sofi3d ASOFI3D
asofi3D sofi3D asofi3d sofi3d ASOFI3D:
$(MAKE) --directory=src asofi3D
.PHONY : clean
clean :
$(MAKE) --directory=src $@
.PHONY : clobber
clobber :
$(MAKE) --directory=src $@
.PHONY : test
test :
tests/check_test_env.sh
tests/test_01.sh
if [ -n "${SLOW_TESTS}" ]; then tests/test_02.sh; fi
tests/test_03.sh
tests/test_04.sh
tests/test_05.sh
tests/test_06.sh
tests/test_07.sh
tests/test_08.sh
tests/test_09.sh
tests/test_10.sh
tests/test_11.sh
tests/test_14.sh
tests/test_15.sh
# Developer-level target, to check that one single translation unit
# compiles without any warnings from a compiler.
# Variable $(@F) contains the basename of the target %.o,
# so that the user could call, for example,
# make src/snapmerge.o
# or
# make snapmerge.o
# with the same result.
%.o:
$(MAKE) --directory=src $(@F)