summaryrefslogtreecommitdiff
path: root/apps/examples/wget
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/wget')
-rw-r--r--apps/examples/wget/Makefile5
-rw-r--r--apps/examples/wget/Makefile.host4
2 files changed, 6 insertions, 3 deletions
diff --git a/apps/examples/wget/Makefile b/apps/examples/wget/Makefile
index 859ae999d..d74c248e9 100644
--- a/apps/examples/wget/Makefile
+++ b/apps/examples/wget/Makefile
@@ -86,12 +86,13 @@ context:
depend: .depend
clean:
- @rm -f *.o *~ .*.swp .built
+ $(call DELFILE .built)
$(call CLEAN)
@$(MAKE) -f Makefile.host clean TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
distclean: clean
- @rm -f Make.dep .depend
+ $(call DELFILE Make.dep)
+ $(call DELFILE .depend)
-include Make.dep
diff --git a/apps/examples/wget/Makefile.host b/apps/examples/wget/Makefile.host
index 5d746441a..14da45c7e 100644
--- a/apps/examples/wget/Makefile.host
+++ b/apps/examples/wget/Makefile.host
@@ -71,7 +71,9 @@ $(BIN): headers $(OBJS)
$(HOSTCC) $(HOSTLDFLAGS) $(OBJS) -o $@
clean:
- @rm -f $(BIN).* *.o1 *~
+ $(call DELFILE $(BIN).*)
+ $(call DELFILE *.o1)
+ $(call CLEAN)
@rm -rf net nuttx