]> git.sur5r.net Git - u-boot/blob - board/LEOX/elpt860/Makefile
* Code cleanup:
[u-boot] / board / LEOX / elpt860 / Makefile
1
2 #######################################################################
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
32 include $(TOPDIR)/config.mk
33
34 LIB     = lib$(BOARD).a
35
36 OBJS    = $(BOARD).o flash.o
37
38 $(LIB): .depend $(OBJS)
39         $(AR) crv $@ $(OBJS)
40
41 #########################################################################
42
43 .depend:        Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
44                 $(CC) -M $(CFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
45
46 sinclude .depend
47
48 #########################################################################