Blame view

board/r7780mp/Makefile 1.34 KB
c133c1fb0   Yusuke Goda   sh: Add support R...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  #
  # Copyright (C) 2007,2008 Nobuhiro Iwamatsu
  #
  # board/r7780mp/Makefile
  #
  # This program is free software; you can redistribute it and/or
  # modify it under the terms of the GNU General Public License as
  # published by the Free Software Foundation; either version 2 of
  # the License, or (at your option) any later version.
  #
  # This program is distributed in the hope that it will be useful,
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  # GNU General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with this program; if not, write to the Free Software
  # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  # MA 02111-1307 USA
  
  include $(TOPDIR)/config.mk
a30cc5a34   Wolfgang Denk   Cleanup: fix out-...
22
  LIB	= $(obj)lib$(BOARD).a
c133c1fb0   Yusuke Goda   sh: Add support R...
23

9e23fe056   Nobuhiro Iwamatsu   sh: Fix SH-boards...
24
  COBJS	:= r7780mp.o
c133c1fb0   Yusuke Goda   sh: Add support R...
25
  SOBJS	:= lowlevel_init.o
a30cc5a34   Wolfgang Denk   Cleanup: fix out-...
26
27
28
  SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
  OBJS	:= $(addprefix $(obj),$(COBJS))
  SOBJS	:= $(addprefix $(obj),$(SOBJS))
c133c1fb0   Yusuke Goda   sh: Add support R...
29
  $(LIB):	$(OBJS) $(SOBJS)
461fa68d2   Wolfgang Denk   Cleanup: replace ...
30
  	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
c133c1fb0   Yusuke Goda   sh: Add support R...
31
32
33
34
35
  
  clean:
  	rm -f $(SOBJS) $(OBJS)
  
  distclean:	clean
c8a3b109f   Wolfgang Denk   Cleanup out-or-tr...
36
  	rm -f $(LIB) core *.bak $(obj).depend
c133c1fb0   Yusuke Goda   sh: Add support R...
37
38
  
  #########################################################################
a30cc5a34   Wolfgang Denk   Cleanup: fix out-...
39
40
  # defines $(obj).depend target
  include $(SRCTREE)/rules.mk
c133c1fb0   Yusuke Goda   sh: Add support R...
41

a30cc5a34   Wolfgang Denk   Cleanup: fix out-...
42
  sinclude $(obj).depend
c133c1fb0   Yusuke Goda   sh: Add support R...
43
44
  
  #########################################################################