aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2018-10-23 13:06:50 +0200
committerOliver Smith <osmith@sysmocom.de>2018-10-31 14:13:34 +0100
commit5c882f66e9291634cc4c1b341b81a0e6e2c12022 (patch)
treed1c75372241133ab45485359199c86962354b519
parent9c032908e29a445470127fef0aecf9ac0c6c6bc1 (diff)
gen_makefile.py: detect changes in cpp files
Properly rebuild when cpp files (e.g. from osmo-trx) have been changed. Change-Id: I9382d984fa1988eefbb6be3e45d88b2f1f5b598a
-rwxr-xr-xgen_makefile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_makefile.py b/gen_makefile.py
index c2b6128..1ae29f5 100755
--- a/gen_makefile.py
+++ b/gen_makefile.py
@@ -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"