diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-06 10:27:40 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-06 10:27:40 +0100 |
commit | 0d571458f5880c0fa92d20a4df1f0204277c43a0 (patch) | |
tree | 6430b52d5912299be95c6513137c6e5b50845e18 /src | |
parent | cd11c4d81c976b76a0db262f43a6c09192cd0e6c (diff) | |
download | px4-firmware-0d571458f5880c0fa92d20a4df1f0204277c43a0.tar.gz px4-firmware-0d571458f5880c0fa92d20a4df1f0204277c43a0.tar.bz2 px4-firmware-0d571458f5880c0fa92d20a4df1f0204277c43a0.zip |
improve multi_tables makefile
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/systemlib/mixer/multi_tables.mk | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/modules/systemlib/mixer/multi_tables.mk b/src/modules/systemlib/mixer/multi_tables.mk index 6429961cc..5a1a0fa72 100644 --- a/src/modules/systemlib/mixer/multi_tables.mk +++ b/src/modules/systemlib/mixer/multi_tables.mk @@ -33,11 +33,12 @@ SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST))) +MULTI_TABLES := $(SELF_DIR)multi_tables.py # Add explicit dependency, as implicit one doesn't work often. $(SELF_DIR)mixer_multirotor.cpp : $(SELF_DIR)mixer_multirotor.generated.h -$(SELF_DIR)mixer_multirotor.generated.h : $(SELF_DIR)multi_tables - $(SELF_DIR)multi_tables > $(SELF_DIR)mixer_multirotor.generated.h - $(SELF_DIR)multi_tables -
\ No newline at end of file +$(SELF_DIR)mixer_multirotor.generated.h : $(MULTI_TABLES) + $(Q) $(PYTHON) $(MULTI_TABLES) > $(SELF_DIR)mixer_multirotor.generated.h + $(Q) $(PYTHON) $(MULTI_TABLES) + |