feat(build): clean-olean target deletes .olean and .d files

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-08-04 13:58:12 -07:00
parent 59f6cb5962
commit bc4cef9ecb

View file

@ -327,10 +327,5 @@ endif()
add_custom_target(clean-olean
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
COMMAND find . -name '*.olean' -exec rm -f '{}' '\;'
COMMAND find . -type f -name '*.olean' -delete && find . -type f -name '*.d' -delete
)
add_custom_target(clean-d
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
COMMAND find . -name '*.d' -exec rm -f '{}' '\;'
)