Limbo 3.5.4
Loading...
Searching...
No Matches
FindGxx.mk
Go to the documentation of this file.
1## @file FindGxx.mk
2## @brief find g++, determine CXX
3## @author Yibo Lin
4## @date Jan 2017
5##
6## @param CXX set CXX as C++ compiler
7
8## @cond
9
10ifneq ($(shell which g++),)
11 CXX = g++
12else
13ifneq ($(shell which g++48),)
14 CXX = g++48
15else
16ifneq ($(shell which g++-4.8),)
17 CXX = g++-4.8
18else
19ifneq ($(shell which g++47),)
20 CXX = g++47
21else
22ifneq ($(shell which g++-4.7),)
23 CXX = g++-4.7
24else
25ifneq ($(shell which g++44),)
26 CXX = g++44
27else
28ifneq ($(shell which g++-4.4),)
29 CXX = g++-4.4
30else
31 CXX = g++
32endif
33endif
34endif
35endif
36endif
37endif
38endif
39
40## @endcond