Changes in Makefile [8786aa5:e035612] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r8786aa5 re035612  
    3030#
    3131
    32 CSCOPE = cscope
    33 CONFIG = tools/config.py
    34 
    35 .PHONY: all config config_default distclean clean cscope precheck
     32.PHONY: all config config_default distclean clean cscope
    3633
    3734all: Makefile.config config.h config.defs
    38         $(MAKE) -C kernel PRECHECK=$(PRECHECK)
    39         $(MAKE) -C uspace PRECHECK=$(PRECHECK)
    40         $(MAKE) -C boot PRECHECK=$(PRECHECK)
    41 
    42 precheck: clean
    43         $(MAKE) all PRECHECK=y
    44 
    45 cscope:
    46         find kernel boot uspace -regex '^.*\.[chsS]$$' | xargs $(CSCOPE) -b -k -u -f$(CSCOPE).out
     35        $(MAKE) -C kernel
     36        $(MAKE) -C uspace
     37        $(MAKE) -C boot
    4738
    4839Makefile.config: config_default
     
    5344
    5445config_default: HelenOS.config
    55         $(CONFIG) HelenOS.config default
     46        tools/config.py HelenOS.config default
    5647
    5748config: HelenOS.config
    58         $(CONFIG) HelenOS.config
     49        tools/config.py HelenOS.config
    5950
    6051distclean: clean
    61         rm -f $(CSCOPE).out Makefile.config config.h config.defs tools/*.pyc
     52        rm -f Makefile.config config.h config.defs tools/*.pyc
    6253
    6354clean:
    64         $(MAKE) -C kernel clean
    65         $(MAKE) -C uspace clean
    66         $(MAKE) -C boot clean
     55        -$(MAKE) -C kernel clean
     56        -$(MAKE) -C uspace clean
     57        -$(MAKE) -C boot clean
     58
     59cscope:
     60        find kernel boot uspace -regex '^.*\.[chsS]$$' -print > srclist
     61        rm -f cscope.out
     62        cscope -bi srclist
Note: See TracChangeset for help on using the changeset viewer.