[go: up one dir, main page]

Menu

[8bf46b]: / Makefile  Maximize  Restore  History

Download this file

71 lines (45 with data), 1.8 kB

 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
# This -*- Makefile -*- gets processed with both GNU make and nmake.
# So keep it simple and compatible.
usage:
@echo -e "Choose one of the goals:\nlibrary_g++ library_g++_mcstl library_icpc library_icpc_mcstl library_msvc\ntests_g++ tests_g++_mcstl tests_icpc tests_icpc_mcstl tests_msvc\nclean_g++ clean_g++_mcstl clean_icpc clean_icpc_mcstl clean_msvc "
settings_g++:
cmp -s make.settings.g++ make.settings || \
cp make.settings.g++ make.settings
settings_icpc:
cmp -s make.settings.icpc make.settings || \
cp make.settings.icpc make.settings
settings_icpc_mcstl:
cmp -s make.settings.icpc_mcstl make.settings || \
cp make.settings.icpc_mcstl make.settings
settings_msvc:
copy make.settings.msvc make.settings
library_g++: settings_g++
$(MAKE) -f Makefile.g++ library USE_MCSTL=no
library_g++_mcstl: settings_g++
$(MAKE) -f Makefile.g++ library USE_MCSTL=yes
library_icpc: settings_icpc
$(MAKE) -f Makefile.icpc library
library_icpc_mcstl: settings_icpc_mcstl
$(MAKE) -f Makefile.icpc library
library_msvc: settings_msvc
nmake /F Makefile.msvc library
tests_g++: settings_g++
$(MAKE) -f Makefile.g++ tests USE_MCSTL=no
tests_g++_mcstl: settings_g++
$(MAKE) -f Makefile.g++ tests USE_MCSTL=yes
tests_icpc: settings_icpc
$(MAKE) -f Makefile.icpc tests
tests_icpc_mcstl: settings_icpc_mcstl
$(MAKE) -f Makefile.icpc tests
tests_msvc: settings_msvc
nmake /F Makefile.msvc tests
clean_g++: settings_g++
$(MAKE) -f Makefile.g++ clean USE_MCSTL=no
clean_g++_mcstl: settings_g++
$(MAKE) -f Makefile.g++ clean USE_MCSTL=yes
clean_icpc: settings_icpc
$(MAKE) -f Makefile.icpc clean
clean_icpc_mcstl: settings_icpc_mcstl
$(MAKE) -f Makefile.icpc clean
clean_msvc: settings_msvc
nmake /F Makefile.msvc clean