-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.msvc
106 lines (97 loc) · 2.38 KB
/
Makefile.msvc
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# This -*- Makefile -*- is intended for processing with nmake.
############################################################################
# Makefile.msvc
#
# Part of the STXXL. See http://stxxl.sourceforge.net
#
# Copyright (C) 2005-2007 Roman Dementiev <[email protected]>
# Copyright (C) 2009, 2010 Johannes Singler <[email protected]>
#
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
############################################################################
main: library
TOPDIR=$(MAKEDIR)
include make.settings
library:
cd common
$(MAKE) TOPDIR="$(MAKEDIR)" lib
cd ..
cd io
$(MAKE) TOPDIR="$(MAKEDIR)" lib
cd ..
cd mng
$(MAKE) TOPDIR="$(MAKEDIR)" lib
cd ..
cd algo
$(MAKE) TOPDIR="$(MAKEDIR)" lib
cd ..
cd lib
$(MAKE) TOPDIR="$(MAKEDIR)"
cd ..
cd common
$(MAKE) TOPDIR="$(MAKEDIR)" tools
cd ..
cd utils
$(MAKE) TOPDIR="$(MAKEDIR)" tools
cd ..
cd io
$(MAKE) TOPDIR="$(MAKEDIR)" tools
cd ..
@echo "Building library is completed."
@echo "Use the following compiler options with programs using Stxxl: $(STXXL_COMPILER_OPTIONS)"
@echo "Use the following linker options with programs using Stxxl: $(STXXL_LINKER_OPTIONS)"
@echo $(STXXL_COMPILER_OPTIONS) > compiler.options
@echo $(STXXL_LINKER_OPTIONS) > linker.options
tests: library
cd common
$(MAKE) TOPDIR="$(MAKEDIR)" tests
cd ..
cd io
$(MAKE) TOPDIR="$(MAKEDIR)" tests
cd ..
cd mng
$(MAKE) TOPDIR="$(MAKEDIR)" tests
cd ..
cd containers
$(MAKE) TOPDIR="$(MAKEDIR)" tests
cd ..
cd algo
$(MAKE) TOPDIR="$(MAKEDIR)" tests
cd ..
cd stream
$(MAKE) TOPDIR="$(MAKEDIR)" tests
cd ..
cd utils
$(MAKE) TOPDIR="$(MAKEDIR)" tests
cd ..
@echo "Building tests is completed."
@echo "Use the following compiler options with programs using Stxxl: $(STXXL_COMPILER_OPTIONS)"
@echo "Use the following linker options with programs using Stxxl: $(STXXL_LINKER_OPTIONS)"
clean:
cd lib
$(MAKE) TOPDIR="$(MAKEDIR)" clean
cd ..
cd common
$(MAKE) TOPDIR="$(MAKEDIR)" clean
cd ..
cd io
$(MAKE) TOPDIR="$(MAKEDIR)" clean
cd ..
cd mng
$(MAKE) TOPDIR="$(MAKEDIR)" clean
cd ..
cd containers
$(MAKE) TOPDIR="$(MAKEDIR)" clean
cd ..
cd algo
$(MAKE) TOPDIR="$(MAKEDIR)" clean
cd ..
cd stream
$(MAKE) TOPDIR="$(MAKEDIR)" clean
cd ..
cd utils
$(MAKE) TOPDIR="$(MAKEDIR)" clean
cd ..
@echo "Cleaning completed"