topic_listener: moved generated file to Build dir

Moved the generated topic_listener.cpp to the Build tree so it is
cleaned when make clean is called.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-27 09:52:28 -07:00
parent 8e589adb24
commit 5b91f172e3

View File

@@ -35,8 +35,8 @@
# Build the topic listener tool.
#
$(PX4_BASE)/src/systemcmds/topic_listener/topic_listener.cpp : $(PX4_BASE)/Tools/generate_listener.py
$(PX4_BASE)/Tools/generate_listener.py $(PX4_BASE) > $(PX4_BASE)/src/systemcmds/topic_listener/$@
./topic_listener.cpp : $(PX4_BASE)/Tools/generate_listener.py
$(PX4_BASE)/Tools/generate_listener.py $(PX4_BASE) > $@
MODULE_COMMAND = listener
SRCS = topic_listener.cpp