Mercurial > hg > beaglert
comparison Makefile @ 321:4475c0bc2aaa Doxy prerelease
Merge
author | Robert Jack <robert.h.jack@gmail.com> |
---|---|
date | Fri, 27 May 2016 12:32:11 +0100 |
parents | 247a182adb6d 48d36405e987 |
children |
comparison
equal
deleted
inserted
replaced
298:634c1d1f37bc | 321:4475c0bc2aaa |
---|---|
31 CPP_FLAGS := -O3 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -ftree-vectorize | 31 CPP_FLAGS := -O3 -march=armv7-a -mtune=cortex-a8 -mfloat-abi=hard -mfpu=neon -ftree-vectorize |
32 C_FLAGS := $(CPP_FLAGS) | 32 C_FLAGS := $(CPP_FLAGS) |
33 | 33 |
34 ifndef COMPILER | 34 ifndef COMPILER |
35 # check whether clang is installed | 35 # check whether clang is installed |
36 TEST_COMPILER := $(shell which clang) | 36 # TEST_COMPILER := $(shell which clang) |
37 ifneq ($(strip $(TEST_COMPILER)), ) | 37 # ifneq ($(strip $(TEST_COMPILER)), ) |
38 # if it is installed, use it | 38 # # if it is installed, use it |
39 COMPILER := clang | 39 # COMPILER := clang |
40 else | 40 # else |
41 COMPILER := gcc | 41 COMPILER := gcc |
42 endif | 42 # endif |
43 endif | 43 endif |
44 | 44 |
45 ifeq ($(COMPILER), clang) | 45 ifeq ($(COMPILER), clang) |
46 CC=clang | 46 CC=clang |
47 CXX=clang++ | 47 CXX=clang++ |