Fixed compilation of tests target in clean checkout

Moved mixer_multirotor.generated.h generation to the standalone makefile to prevent copypaste
This commit is contained in:
Anton Matosov
2015-01-05 12:37:05 +02:00
parent 21b45ae86b
commit 1bc6c44a0e
4 changed files with 45 additions and 14 deletions
+1 -7
View File
@@ -24,12 +24,6 @@ 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
include ../systemlib/mixer/multi_tables.mk