forked from Archive/PX4-Autopilot
improve multi_tables makefile
This commit is contained in:
parent
cd11c4d81c
commit
0d571458f5
|
@ -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
|
||||
|
||||
$(SELF_DIR)mixer_multirotor.generated.h : $(MULTI_TABLES)
|
||||
$(Q) $(PYTHON) $(MULTI_TABLES) > $(SELF_DIR)mixer_multirotor.generated.h
|
||||
$(Q) $(PYTHON) $(MULTI_TABLES)
|
||||
|
||||
|
|
Loading…
Reference in New Issue