• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# External Projects Makefile
3#
4
5#
6# GoogleTest/GoogleMock
7#
8
9GOOGLETEST_PATH = $(GOOGLETEST_PREFIX)/googletest
10GOOGLEMOCK_PATH = $(GOOGLETEST_PREFIX)/googlemock
11
12# Common Compiler Flags ########################################################
13
14# Include paths.
15GOOGLE_X86_GOOGLETEST_CFLAGS += -I$(GOOGLETEST_PATH)
16GOOGLE_X86_GOOGLETEST_CFLAGS += -I$(GOOGLETEST_PATH)/include
17GOOGLE_X86_GOOGLETEST_CFLAGS += -I$(GOOGLEMOCK_PATH)
18GOOGLE_X86_GOOGLETEST_CFLAGS += -I$(GOOGLEMOCK_PATH)/include
19
20# x86 GoogleTest Source Files ##################################################
21
22GOOGLE_X86_GOOGLETEST_SRCS += $(GOOGLETEST_PATH)/src/gtest-all.cc
23GOOGLE_X86_GOOGLETEST_SRCS += $(GOOGLETEST_PATH)/src/gtest_main.cc
24
25# x86 GoogleMock Source Files ##################################################
26
27GOOGLE_X86_GOOGLETEST_SRCS += $(GOOGLEMOCK_PATH)/src/gmock-all.cc
28
29#
30# Kiss FFT
31#
32
33# Common Compiler Flags ########################################################
34
35# Include paths.
36COMMON_CFLAGS += -Iexternal/kiss_fft
37
38# Macros.
39COMMON_CFLAGS += -DFIXED_POINT
40
41# Common Source Files ##########################################################
42
43COMMON_SRCS += external/kiss_fft/kiss_fft.c
44COMMON_SRCS += external/kiss_fft/kiss_fftr.c
45