gen_makefile.py: detect changes in cpp files

Properly rebuild when cpp files (e.g. from osmo-trx) have been changed.

Change-Id: I9382d984fa1988eefbb6be3e45d88b2f1f5b598a
This commit is contained in:
Oliver Smith 2018-10-23 13:06:50 +02:00
parent 9c032908e2
commit 5c882f66e9
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ def gen_make(proj, deps, configure_opts, jobs, make_dir, src_dir, build_dir, url
### {proj} ###
{proj}_configure_files := $(shell find {src_proj} -name "Makefile.am" -or -name "*.in" )
{proj}_files := $(shell find {src_proj} -name "*.[hc]" -or -name "*.py" )
{proj}_files := $(shell find {src_proj} -name "*.[hc]" -or -name "*.py" -or -name "*.cpp" )
.make.{proj}.clone:
@echo "\n\n\n===== $@\n"