gonzui


Format: Advanced Search

tkernel_2/driver/tef_em1d/build/Makefilebare sourcepermlink (0.01 seconds)

Search this content:

    1: #
    2: # ----------------------------------------------------------------------
    3: #     T-Kernel 2.0 Software Package
    4: #
    5: #     Copyright 2011 by Ken Sakamura.
    6: #     This software is distributed under the latest version of T-License 2.x.
    7: # ----------------------------------------------------------------------
    8: #
    9: #     Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17.
   10: #     Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   11: #
   12: # ----------------------------------------------------------------------
   13: #
   14: 
   15: #
   16: #       Makefile for gmake
   17: #       make all drivers for tef_emid
   18: #
   19: 
   20: DRV_TARGET = clk console kbpd lowkbpd screen sysdsk
   21: DRV_SRC_TARGET = clk console
   22: 
   23: # ----------------------------------------------------------------------------
   24: .PHONY: all clean source clean_source clean_all
   25: 
   26: all: $(DRV_TARGET)
   27: 
   28: $(DRV_TARGET):
   29:         cd ../$@/build ; \
   30:         $(MAKE) ; \
   31:         $(MAKE) install
   32: 
   33: clean:
   34:         @( cd ../ ; \
   35:         for dir in $(DRV_TARGET); do \
   36:                 ( cd $$dir/build ; $(MAKE) clean clean_install ) ; \
   37:         done ) ;
   38: 
   39: source:
   40:         @( cd ../ ; \
   41:         for dir in $(DRV_SRC_TARGET); do \
   42:                 ( cd $$dir/build ; $(MAKE) source ) ; \
   43:         done ) ;
   44: 
   45: clean_source:
   46:         @( cd ../ ; \
   47:         for dir in $(DRV_SRC_TARGET); do \
   48:                 ( cd $$dir/build ; $(MAKE) clean_source ) ; \
   49:         done ) ;
   50: 
   51: clean_all: clean clean_source