Changeset 364
- Timestamp:
- 04/19/15 15:36:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/Makefile-maintain
r363 r364 4 4 endif 5 5 6 MISSING_ALL_DIRS=$(strip $(foreach DIR,$(shell echo $(ALL_DIRS)), $(if $(wildcard $(DIR)),,$(DIR)))) 7 6 8 clean: 7 9 ifeq "$(ALL_DIRS)$(ALL_DIRS)" "" 8 10 @echo "Makefile-maintain clean: ALL_DIRS and/or EXTRA_CLEAN_FILES must be defined" 9 11 else 10 @echo -e -n $(foreach DIR,$(shell echo $(ALL_DIRS)), \ 11 $(if $(wildcard $(DIR)),,Missing directory:$(DIR)\\n) \ 12 ) 12 @echo -e -n $(if $(MISSING_ALL_DIRS),\\nMissing ALL_DIRS paths:\\n$(MISSING_ALL_DIRS)\\n\\n) 13 13 rm -f $(EXTRA_CLEAN_FILES) $(ALL_DIRS)/*.{a,o,d} 14 14 endif
Note: See TracChangeset
for help on using the changeset viewer.