diff options
author | 2017-08-14 21:05:28 +1000 | |
---|---|---|
committer | 2017-08-14 21:05:28 +1000 | |
commit | d0258eb992fce803ec3941bc2b2191ccd7fac5b1 (patch) | |
tree | 6874f3bf857a8ffc2c226b8d69f143fac33e1d93 /dist.mak | |
parent | cebff96608c036c01b57404727de4caaa0031c8b (diff) |
add a clean target to dist.mak, mark targets phony (nw)
Diffstat (limited to 'dist.mak')
-rw-r--r-- | dist.mak | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -113,12 +113,17 @@ COPY_FILES := $(addprefix $(STAGEDIR)/,$(COPIED_FILES)) all: $(COPY_BINARIES) $(COPY_FILES) +clean: + $(SILENT) rm -rf $(STAGEDIR) + $(GEN_FOLDERS): - -$(call MKDIR,$@) + $(call MKDIR,$@) $(STAGEDIR)/%: $(BINDIR)/% | $(GEN_FOLDERS) - -$(call COPY,$<,$@) - strip $@ + $(call COPY,$<,$@) + $(SILENT) strip $@ $(STAGEDIR)/%: % | $(GEN_FOLDERS) - -$(call COPY,$<,$@) + $(call COPY,$<,$@) + +.PHONY: all clean |