gonzui


Format: Advanced Search

tkernel_2/driver/tef_em1d/screen/build/Makefilebare sourcepermlink (0.00 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 T-Engine Forum at 2012/11/07.
   11: #     Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
   12: #
   13: # ----------------------------------------------------------------------
   14: #
   15: 
   16: #
   17: #       Makefile
   18: #               for GNU make
   19: #
   20: #       device driver : screen (em1d)
   21: 
   22: MACHINE = em1d
   23: TETYPE = tef
   24: 
   25: SRC_SYSDEP = em1d512.c
   26: 
   27: # ----------------------------------------------------------------------------
   28: 
   29: DEPS = Dependencies
   30: DEPENDENCIES_OUTPUT := $(DEPS)
   31: 
   32: include $(BD)/etc/makerules
   33: 
   34: HEADER = $(BD)/include
   35: 
   36: # ----------------------------------------------------------------------------
   37: 
   38: TARGET = screen
   39: 
   40: S = ../src
   41: 
   42: VPATH = $(S)
   43: HEADER += $(S)
   44: 
   45: SRC = main.c common.c conf.c
   46: SRC += $(SRC_SYSDEP)
   47: 
   48: OBJ = $(addsuffix .o, $(basename $(SRC)))
   49: 
   50: CFLAGS += $(CFLAGS_WARNING)
   51: 
   52: # ----------------------------------------------------------------------------
   53: 
   54: .PHONY: all clean install clean_install
   55: 
   56: ALL = $(TARGET).o
   57: 
   58: all: $(ALL)
   59: 
   60: $(TARGET).o: $(OBJ)
   61:         $(LINK_R.o) $^ $(OUTPUT_OPTION)
   62: 
   63: clean:
   64:         $(RM) $(OBJ) $(ALL) $(DEPS)
   65: 
   66: install: $(addprefix $(DRIVER_INSTALLDIR)/, $(ALL))
   67: 
   68: clean_install:
   69:         $(RM) $(addprefix $(DRIVER_INSTALLDIR)/, $(ALL))
   70: 
   71: ifdef DEPENDENCIES_OUTPUT
   72:   $(DEPS): ; touch $(DEPS)
   73: else
   74:   $(DEPS): $(SRC) ; $(MAKEDEPS) $@ $?
   75: endif
   76: -include $(DEPS)