This is an automated email from the ASF dual-hosted git repository.
xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new ded654c64 examples/microwindows: add images/*.c and convbmp to
.gitignore and clean fix
ded654c64 is described below
commit ded654c64b1fa2e89030b43c3a85f90098585668
Author: Pavel Pisa <[email protected]>
AuthorDate: Fri Oct 23 01:01:27 2026 +0200
examples/microwindows: add images/*.c and convbmp to .gitignore and clean
fix
The generated image files and the convbmp utility should
not be seen as newly added/untracked files by GIT.
Oder local clean after Application.mk provided clean,
because Application.mk cleans objects files
in the images directory and then local clean
can remove directory which should be empty
by that time.
Signed-off-by: Pavel Pisa <[email protected]>
---
examples/microwindows/.gitignore | 2 ++
examples/microwindows/Makefile | 10 +++++-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/examples/microwindows/.gitignore b/examples/microwindows/.gitignore
new file mode 100644
index 000000000..3428591f4
--- /dev/null
+++ b/examples/microwindows/.gitignore
@@ -0,0 +1,2 @@
+/images/*.c
+/convbmp
diff --git a/examples/microwindows/Makefile b/examples/microwindows/Makefile
index c8c588abc..2631f82fe 100644
--- a/examples/microwindows/Makefile
+++ b/examples/microwindows/Makefile
@@ -44,12 +44,12 @@ $(MW_IMGDIR)/%.c: $(MW_SRC)/images/demos/mwin/%.bmp
$(MW_CONVBMP)
mkdir -p $(MW_IMGDIR)
$(CURDIR)/$(MW_CONVBMP) -o $@ $<
-clean::
- $(call DELFILE, $(MW_IMAGES:%=$(MW_IMGDIR)/%.c))
- $(Q) rmdir $(MW_IMGDIR) 2>/dev/null || true
- $(call DELFILE, $(MW_CONVBMP))
-
CFLAGS += -Wno-undef
CFLAGS += -DNOGDI
include $(APPDIR)/Application.mk
+
+clean::
+ $(call DELFILE, $(MW_IMAGES:%=$(MW_IMGDIR)/%.c))
+ $(Q) rmdir $(MW_IMGDIR) 2>/dev/null || true
+ $(call DELFILE, $(MW_CONVBMP))