-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
69 lines (46 loc) · 1.67 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# ==============================================================================
# Unix Makefile for installing libndtypes, libxnd, libgumath
# ==============================================================================
default:
@echo "\nPlease use an explicit \"make install\". The combined build of all xnd"
@echo "libraries relies on the successive install of libndtypes and libxnd."
@exit 1
libndtypes_build:
cd ndtypes && $(MAKE)
libndtypes_install: libndtypes_build
cd ndtypes && $(MAKE) install
libndtypes_check: libndtypes_install
cd ndtypes && $(MAKE) check
libndtypes_memcheck: libndtypes_install
cd ndtypes && $(MAKE) memcheck
libxnd_build: libndtypes_install
cd xnd && $(MAKE)
libxnd_install: libxnd_build
cd xnd && $(MAKE) install
libxnd_check: libxnd_install
cd xnd && $(MAKE) check
libxnd_memcheck: libxnd_install
cd xnd && $(MAKE) memcheck
libgumath_build: libxnd_install
cd gumath && $(MAKE)
libgumath_install: libgumath_build
cd gumath && $(MAKE) install
check: libndtypes_check libxnd_check
memcheck: libndtypes_memcheck libxnd_memcheck
install: libndtypes_install libxnd_install libgumath_install
clean: FORCE
- cd ndtypes && $(MAKE) clean
- cd xnd && $(MAKE) clean
- cd gumath && $(MAKE) clean
distclean: FORCE
- cd ndtypes && $(MAKE) distclean
- cd xnd && $(MAKE) distclean
- cd gumath && $(MAKE) distclean
- cd xndtools && rm -rf temp record.txt
- cd python && rm -rf ndtypes xnd gumath __pycache__ *.egg-info
- cd python && rm -rf xndtools structinfo_generator xnd_tools
- cd python/test && rm -rf *.py __pycache__ *.egg-info
- cd scripts && rm -rf build
- cd doc && rm -rf build
- rm -rf config.log build .pytest_cache
FORCE: