diff options
Diffstat (limited to 'tests/cxx/hybrid/sequences/makefile')
-rw-r--r-- | tests/cxx/hybrid/sequences/makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/cxx/hybrid/sequences/makefile b/tests/cxx/hybrid/sequences/makefile index 41f5941..8fcf245 100644 --- a/tests/cxx/hybrid/sequences/makefile +++ b/tests/cxx/hybrid/sequences/makefile @@ -44,11 +44,23 @@ $(test): $(driver) # .PHONY: $(clean) -$(clean): $(driver).o.clean \ - $(addsuffix .cxx.clean,$(obj)) \ +$(clean): $(driver).o.clean \ + $(addsuffix .cxx.clean,$(obj)) \ $(addsuffix .cxx.clean,$(dep)) +# Generated .gitignore. +# +ifeq ($(out_base),$(src_base)) +$(driver): | $(out_base)/.gitignore + +$(out_base)/.gitignore: files := driver +$(clean): $(out_base)/.gitignore.clean + +$(call include,$(bld_root)/git/gitignore.make) +endif + + # How to. # $(call include,$(bld_root)/cxx/o-e.make) |