1*545c8e0aSMatthew Fettke# 2*545c8e0aSMatthew Fettke# (C) Copyright 2000-2003 3*545c8e0aSMatthew Fettke# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4*545c8e0aSMatthew Fettke# 5*545c8e0aSMatthew Fettke# See file CREDITS for list of people who contributed to this 6*545c8e0aSMatthew Fettke# project. 7*545c8e0aSMatthew Fettke# 8*545c8e0aSMatthew Fettke# This program is free software; you can redistribute it and/or 9*545c8e0aSMatthew Fettke# modify it under the terms of the GNU General Public License as 10*545c8e0aSMatthew Fettke# published by the Free Software Foundation; either version 2 of 11*545c8e0aSMatthew Fettke# the License, or (at your option) any later version. 12*545c8e0aSMatthew Fettke# 13*545c8e0aSMatthew Fettke# This program is distributed in the hope that it will be useful, 14*545c8e0aSMatthew Fettke# but WITHOUT ANY WARRANTY; without even the implied warranty of 15*545c8e0aSMatthew Fettke# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*545c8e0aSMatthew Fettke# GNU General Public License for more details. 17*545c8e0aSMatthew Fettke# 18*545c8e0aSMatthew Fettke# You should have received a copy of the GNU General Public License 19*545c8e0aSMatthew Fettke# along with this program; if not, write to the Free Software 20*545c8e0aSMatthew Fettke# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 21*545c8e0aSMatthew Fettke# MA 02111-1307 USA 22*545c8e0aSMatthew Fettke# 23*545c8e0aSMatthew Fettke 24*545c8e0aSMatthew Fettkeinclude $(TOPDIR)/config.mk 25*545c8e0aSMatthew Fettke 26*545c8e0aSMatthew FettkeLIB = lib$(BOARD).a 27*545c8e0aSMatthew Fettke 28*545c8e0aSMatthew FettkeOBJS = $(BOARD).o mii.o 29*545c8e0aSMatthew Fettke 30*545c8e0aSMatthew Fettke$(LIB): .depend $(OBJS) 31*545c8e0aSMatthew Fettke $(AR) crv $@ $(OBJS) 32*545c8e0aSMatthew Fettke 33*545c8e0aSMatthew Fettke######################################################################### 34*545c8e0aSMatthew Fettke 35*545c8e0aSMatthew Fettke.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c) 36*545c8e0aSMatthew Fettke $(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@ 37*545c8e0aSMatthew Fettke 38*545c8e0aSMatthew Fettkesinclude .depend 39*545c8e0aSMatthew Fettke 40*545c8e0aSMatthew Fettke######################################################################### 41