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

Changeset 7654f3e in mainline


Ignore:
Timestamp:
2017-11-10T13:54:10Z (4 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master
Children:
676e833
Parents:
731d8f9
Message:

Fix 'make clean' in individual uspace directories.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • .bzrignore

    r731d8f9 r7654f3e  
    77*.d
    88tag
     9deps.mk
    910Makefile.ag.depend
    1011Makefile.common
  • uspace/Makefile

    r731d8f9 r7654f3e  
    260260        find lib app drv srv -name '*.lo' -follow -exec rm \{\} \;
    261261        find lib app drv srv -name '*.d' -follow -exec rm \{\} \;
    262         find lib app drv srv -name 'tag' -follow -exec rm \{\} \;
    263262
    264263$(CLEANS):
    265         -$(MAKE) -r -C $(basename $@) clean
     264        -$(MAKE) -r -C $(basename $@) fasterclean
    266265
    267266$(BASE_BUILDS) $(BUILDS):
  • uspace/Makefile.common

    r731d8f9 r7654f3e  
    244244LIBARGS := $(addprefix -L$(USPACE_PREFIX)/lib/, $(LIBS)) $(addprefix -l, $(LIBS))
    245245
    246 .PHONY: all all-test clean depend
     246.PHONY: all all-test clean fasterclean depend
    247247
    248248all: tag $(OUTPUTS)
     
    251251
    252252clean:
    253         rm -f $(JOB) $(OUTPUTS) $(EXTRA_CLEAN)
     253        rm -f $(JOB) $(OUTPUTS) $(EXTRA_CLEAN) tag deps.mk
     254        find . -name '*.o' -follow -exec rm \{\} \;
     255        find . -name '*.lo' -follow -exec rm \{\} \;
     256        find . -name '*.d' -follow -exec rm \{\} \;
     257
     258fasterclean:
     259        rm -f $(JOB) $(OUTPUTS) $(EXTRA_CLEAN) tag deps.mk
    254260
    255261depend: $(PRE_DEPEND)
Note: See TracChangeset for help on using the changeset viewer.