37 | | # Detect Cygwin or MinGW |
38 | | WINDOWS = 0 |
39 | | MINGW = 0 |
40 | | ifneq (,$(findstring MINGW,$(shell uname))) |
41 | | WINDOWS = 1 |
42 | | MINGW = 1 |
43 | | # POSIX memory-mapped files not currently supported on Windows |
44 | | BOWTIE_MM = 0 |
45 | | BOWTIE_SHARED_MEM = 0 |
46 | | endif |
47 | | |
48 | | MACOS = 0 |
49 | | ifneq (,$(findstring Darwin,$(shell uname))) |
50 | | MACOS = 1 |
51 | | ifneq (,$(findstring 13,$(shell uname -r))) |
52 | | CPP = clang++ |
53 | | CC = clang |
54 | | override EXTRA_FLAGS += -stdlib=libstdc++ |
55 | | endif |
56 | | endif |
| 37 | MACOS = 1 |
| 38 | override EXTRA_FLAGS += -stdlib=libstdc++ |