blob: 3e731636e034c3e5a93e12d02edf830973decc3b [file] [log] [blame]
wdenk57b2d802003-06-27 21:31:46 +00001
wdenkef5fe752003-03-12 10:41:04 +00002#######################################################################
3#
4# Copyright (C) 2000, 2001, 2002, 2003
5# The LEOX team <team@leox.org>, http://www.leox.org
6#
7# LEOX.org is about the development of free hardware and software resources
8# for system on chip.
9#
10# Description: U-Boot port on the LEOX's ELPT860 CPU board
11# ~~~~~~~~~~~
12#
13#######################################################################
14#
15# This program is free software; you can redistribute it and/or
16# modify it under the terms of the GNU General Public License as
17# published by the Free Software Foundation; either version 2 of
18# the License, or (at your option) any later version.
19#
20# This program is distributed in the hope that it will be useful,
21# but WITHOUT ANY WARRANTY; without even the implied warranty of
22# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23# GNU General Public License for more details.
24#
25# You should have received a copy of the GNU General Public License
26# along with this program; if not, write to the Free Software
27# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
28# MA 02111-1307 USA
29#
30#######################################################################
31
32include $(TOPDIR)/config.mk
33
34LIB = lib$(BOARD).a
35
36OBJS = $(BOARD).o flash.o
37
38$(LIB): .depend $(OBJS)
wdenk57b2d802003-06-27 21:31:46 +000039 $(AR) crv $@ $(OBJS)
wdenkef5fe752003-03-12 10:41:04 +000040
41#########################################################################
42
43.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
44 $(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
45
46sinclude .depend
47
48#########################################################################