Changes in Makefile [8359969:4cac212c] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r8359969 r4cac212c  
    3030#
    3131
    32 CSCOPE = cscope
    33 STANSE = stanse
    34 
    35 .PHONY: all config config_default distclean clean cscope stanse
     32.PHONY: all config distclean clean cscope
    3633
    3734all: Makefile.config config.h config.defs
     
    4037        $(MAKE) -C boot
    4138
    42 stanse: Makefile.config config.h config.defs
    43         $(MAKE) -C kernel clean
    44         $(MAKE) -C kernel EXTRA_TOOL=stanse
    45         $(STANSE) --checker ReachabilityChecker --checker ThreadChecker:contrib/$(STANSE)/ThreadChecker.xml --jobfile kernel/kernel.job
    46 
    47 cscope:
    48         find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out
    49 
    50 Makefile.config: config_default
    51 
    52 config.h: config_default
    53 
    54 config.defs: config_default
    55 
    56 config_default: HelenOS.config
     39Makefile.config config.h config.defs: HelenOS.config
    5740        tools/config.py HelenOS.config default
    5841
    59 config: HelenOS.config
     42config:
    6043        tools/config.py HelenOS.config
    6144
    6245distclean: clean
    63         rm -f $(CSCOPE).out Makefile.config config.h config.defs tools/*.pyc
     46        rm -f Makefile.config config.h config.defs tools/*.pyc
    6447
    6548clean:
    66         $(MAKE) -C kernel clean
    67         $(MAKE) -C uspace clean
    68         $(MAKE) -C boot clean
     49        -$(MAKE) -C kernel clean
     50        -$(MAKE) -C uspace clean
     51        -$(MAKE) -C boot clean
     52
     53cscope:
     54        find kernel boot uspace -regex '^.*\.[chsS]$$' -print > srclist
     55        rm -f cscope.out
     56        cscope -bi srclist
Note: See TracChangeset for help on using the changeset viewer.