1*4ab779cbSIlya Yanok# 2*4ab779cbSIlya Yanok# Copyright (C) 2011 Ilya Yanok, Emcraft Systems 3*4ab779cbSIlya Yanok# 4*4ab779cbSIlya Yanok# Based on ti/evm/Makefile 5*4ab779cbSIlya Yanok# 6*4ab779cbSIlya Yanok# This program is free software; you can redistribute it and/or modify 7*4ab779cbSIlya Yanok# it under the terms of the GNU General Public License as published by 8*4ab779cbSIlya Yanok# the Free Software Foundation; either version 2 of the License, or 9*4ab779cbSIlya Yanok# (at your option) any later version. 10*4ab779cbSIlya Yanok# 11*4ab779cbSIlya Yanok# This program is distributed in the hope that it will be useful, 12*4ab779cbSIlya Yanok# but WITHOUT ANY WARRANTY; without even the implied warranty of 13*4ab779cbSIlya Yanok# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14*4ab779cbSIlya Yanok# GNU General Public License for more details. 15*4ab779cbSIlya Yanok# 16*4ab779cbSIlya Yanok# You should have received a copy of the GNU General Public License 17*4ab779cbSIlya Yanok# along with this program; if not, write to the Free Software 18*4ab779cbSIlya Yanok# Foundation, Inc. 19*4ab779cbSIlya Yanok# 20*4ab779cbSIlya Yanok 21*4ab779cbSIlya Yanokinclude $(TOPDIR)/config.mk 22*4ab779cbSIlya Yanok 23*4ab779cbSIlya YanokLIB = $(obj)lib$(BOARD).o 24*4ab779cbSIlya Yanok 25*4ab779cbSIlya YanokCOBJS := $(BOARD).o 26*4ab779cbSIlya Yanok 27*4ab779cbSIlya YanokSRCS := $(COBJS:.o=.c) 28*4ab779cbSIlya YanokOBJS := $(addprefix $(obj),$(COBJS)) 29*4ab779cbSIlya Yanok 30*4ab779cbSIlya Yanok$(LIB): $(obj).depend $(OBJS) 31*4ab779cbSIlya Yanok $(call cmd_link_o_target, $(OBJS)) 32*4ab779cbSIlya Yanok 33*4ab779cbSIlya Yanok######################################################################### 34*4ab779cbSIlya Yanok 35*4ab779cbSIlya Yanok# defines $(obj).depend target 36*4ab779cbSIlya Yanokinclude $(SRCTREE)/rules.mk 37*4ab779cbSIlya Yanok 38*4ab779cbSIlya Yanoksinclude $(obj).depend 39