Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 68825c3 in mainline


Ignore:
Timestamp:
2017-11-07T16:27:42Z (4 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master
Children:
b8d4af4b
Parents:
7f881cd8
Message:

Speed up make clean by moving find out of the recursion.

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r7f881cd8 r68825c3  
    253253
    254254clean: $(CLEANS)
     255        find lib app drv srv -name '*.o' -follow -exec rm \{\} \;
     256        find lib app drv srv -name '*.lo' -follow -exec rm \{\} \;
     257        find lib app drv srv -name '*.d' -follow -exec rm \{\} \;
    255258
    256259$(CLEANS):
  • uspace/Makefile.common

    r7f881cd8 r68825c3  
    228228clean:
    229229        rm -f $(JOB) $(OUTPUT) $(LARCHIVE) $(LOUTPUT) $(EXTRA_OUTPUT) $(EXTRA_CLEAN)
    230         find . -name '*.o' -follow -exec rm \{\} \;
    231         find . -name '*.lo' -follow -exec rm \{\} \;
    232         find . -name '*.d' -follow -exec rm \{\} \;
    233230
    234231COMMON_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \
Note: See TracChangeset for help on using the changeset viewer.