comparison Makefile @ 247:feadb63cff32

Makefile looks for includes in the source folder
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 28 Apr 2016 17:08:27 +0100
parents b0ad11ec5d50
children afdddd5f189f 48d36405e987
comparison
equal deleted inserted replaced
246:da5ce9876fcc 247:feadb63cff32
41 CXX=g++ 41 CXX=g++
42 CPP_FLAGS += --fast-math 42 CPP_FLAGS += --fast-math
43 C_FLAGS += --fast-math 43 C_FLAGS += --fast-math
44 endif 44 endif
45 45
46 INCLUDES := -I./include -I/usr/include/ne10 -I/usr/xenomai/include -I/usr/arm-linux-gnueabihf/include/xenomai/include -I/usr/arm-linux-gnueabihf/include/ne10 46 INCLUDES := -I./source -I./include -I/usr/include/ne10 -I/usr/xenomai/include -I/usr/arm-linux-gnueabihf/include/xenomai/include -I/usr/arm-linux-gnueabihf/include/ne10
47 47
48 ASM_SRCS := $(wildcard source/*.S) 48 ASM_SRCS := $(wildcard source/*.S)
49 ASM_OBJS := $(addprefix build/source/,$(notdir $(ASM_SRCS:.S=.o))) 49 ASM_OBJS := $(addprefix build/source/,$(notdir $(ASM_SRCS:.S=.o)))
50 ASM_DEPS := $(addprefix build/source/,$(notdir $(ASM_SRCS:.S=.d))) 50 ASM_DEPS := $(addprefix build/source/,$(notdir $(ASM_SRCS:.S=.d)))
51 51