board: technexion: Add support for TAO3530 SoM
[pandora-x-loader.git] / board / tao3530 / Makefile
1 #
2 # This program is free software; you can redistribute it and/or
3 # modify it under the terms of the GNU General Public License as
4 # published by the Free Software Foundation; either version 2 of
5 # the License, or (at your option) any later version.
6 #
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 # GNU General Public License for more details.
11 #
12 # You should have received a copy of the GNU General Public License
13 # along with this program; if not, write to the Free Software
14 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
15 # MA 02111-1307 USA
16 #
17
18 include $(TOPDIR)/config.mk
19
20 LIB     = lib$(BOARD).a
21
22 OBJS    := tao3530.o 
23 SOBJS   := platform.o
24
25 $(LIB): $(OBJS) $(SOBJS)
26         $(AR) crv $@ $^
27
28 clean:
29         rm -f $(SOBJS) $(OBJS)
30
31 distclean:      clean
32         rm -f $(LIB) core *.bak .depend
33
34 #########################################################################
35
36 .depend:        Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
37                 $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
38
39 -include .depend
40
41 #########################################################################