NEWS: prepare for 6.6.1
[xcsoar.git] / build / options.mk
blob2366752c93eed937958126dc2882fce9d57fda8c
1 RADIANS ?= y
2 LLVM ?= n
3 CLANG ?= $(LLVM)
5 FIXED ?= $(call bool_not,$(HAVE_FPU))
6 ifeq ($(FIXED),y)
7 TARGET_CPPFLAGS += -DFIXED_MATH
8 endif
10 ifeq ($(RADIANS),y)
11 TARGET_CPPFLAGS += -DRADIANS
12 endif
14 # shall we paint with some eye candy?
15 ifneq ($(EYE_CANDY),n)
16 TARGET_CPPFLAGS += -DEYE_CANDY
17 WINDRESFLAGS += -DEYE_CANDY
18 endif
20 ifeq ($(TARGET),ANDROID)
21 ifneq ($(IOIOLIB_DIR),)
22 TARGET_CPPFLAGS += -DIOIOLIB
23 endif
24 endif
26 # show map renderer times?
27 STOP_WATCH ?= n
28 ifeq ($(STOP_WATCH),y)
29 TARGET_CPPFLAGS += -DSTOP_WATCH
30 endif
32 # this option must not be used if TESTING=y
33 ifeq ($(NO_HORIZON),y)
34 TARGET_CPPFLAGS += -DNO_HORIZON
35 WINDRESFLAGS += -DNO_HORIZON
36 endif