Removed extension for multi_tables to not affect its users

Fixed dependencies for the mixer_multirotor.cpp from all the modules
This commit is contained in:
Anton Matosov
2015-01-05 12:02:32 +02:00
parent 2daf30fb25
commit 21b45ae86b
3 changed files with 12 additions and 3 deletions
+10 -1
View File
@@ -1,5 +1,4 @@
SRCS = adc.c \
controls.c \
dsm.c \
@@ -24,3 +23,13 @@ ifeq ($(BOARD),px4io-v2)
SRCS += serial.c \
../systemlib/hx_stream.c
endif
SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
MIXER_DIR:=$(SELF_DIR)../systemlib/mixer/
# Add explicit dependency, as implicit one doesn't work often.
$(MIXER_DIR)mixer_multirotor.cpp : $(MIXER_DIR)mixer_multirotor.generated.h
$(MIXER_DIR)mixer_multirotor.generated.h : $(MIXER_DIR)multi_tables
$(MIXER_DIR)multi_tables > $(MIXER_DIR)mixer_multirotor.generated.h