aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/parser/validation/built-in/float/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/parser/validation/built-in/float/makefile')
-rw-r--r--tests/cxx/parser/validation/built-in/float/makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cxx/parser/validation/built-in/float/makefile b/tests/cxx/parser/validation/built-in/float/makefile
index b6c478d..1a39e04 100644
--- a/tests/cxx/parser/validation/built-in/float/makefile
+++ b/tests/cxx/parser/validation/built-in/float/makefile
@@ -52,6 +52,16 @@ $(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.
#