169df3c4dSNobuhiro Iwamatsu# 269df3c4dSNobuhiro Iwamatsu# Copyright (C) 2007 369df3c4dSNobuhiro Iwamatsu# Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 469df3c4dSNobuhiro Iwamatsu# 569df3c4dSNobuhiro Iwamatsu# This program is free software; you can redistribute it and/or 669df3c4dSNobuhiro Iwamatsu# modify it under the terms of the GNU General Public License as 769df3c4dSNobuhiro Iwamatsu# published by the Free Software Foundation; either version 2 of 869df3c4dSNobuhiro Iwamatsu# the License, or (at your option) any later version. 969df3c4dSNobuhiro Iwamatsu# 1069df3c4dSNobuhiro Iwamatsu# This program is distributed in the hope that it will be useful, 1169df3c4dSNobuhiro Iwamatsu# but WITHOUT ANY WARRANTY; without even the implied warranty of 1269df3c4dSNobuhiro Iwamatsu# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1369df3c4dSNobuhiro Iwamatsu# GNU General Public License for more details. 1469df3c4dSNobuhiro Iwamatsu# 1569df3c4dSNobuhiro Iwamatsu# You should have received a copy of the GNU General Public License 1669df3c4dSNobuhiro Iwamatsu# along with this program; if not, write to the Free Software 1769df3c4dSNobuhiro Iwamatsu# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 1869df3c4dSNobuhiro Iwamatsu# MA 02111-1307 USA 1969df3c4dSNobuhiro Iwamatsu# 2069df3c4dSNobuhiro Iwamatsuinclude $(TOPDIR)/config.mk 2169df3c4dSNobuhiro Iwamatsu 2269df3c4dSNobuhiro IwamatsuLIB = lib$(BOARD).a 2369df3c4dSNobuhiro Iwamatsu 2469df3c4dSNobuhiro IwamatsuOBJS := ms7750se.o 2569df3c4dSNobuhiro IwamatsuSOBJS := lowlevel_init.o 2669df3c4dSNobuhiro Iwamatsu 2769df3c4dSNobuhiro Iwamatsu$(LIB): $(OBJS) $(SOBJS) 28*461fa68dSWolfgang Denk $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) 2969df3c4dSNobuhiro Iwamatsu 3069df3c4dSNobuhiro Iwamatsuclean: 3169df3c4dSNobuhiro Iwamatsu rm -f $(SOBJS) $(OBJS) 3269df3c4dSNobuhiro Iwamatsu 3369df3c4dSNobuhiro Iwamatsudistclean: clean 3469df3c4dSNobuhiro Iwamatsu rm -f $(LIB) core *.bak .depend 3569df3c4dSNobuhiro Iwamatsu 3669df3c4dSNobuhiro Iwamatsu################################################################# 3769df3c4dSNobuhiro Iwamatsu 3869df3c4dSNobuhiro Iwamatsu.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c) 3969df3c4dSNobuhiro Iwamatsu $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@ 4069df3c4dSNobuhiro Iwamatsu 4169df3c4dSNobuhiro Iwamatsu-include .depend 4269df3c4dSNobuhiro Iwamatsu 4369df3c4dSNobuhiro Iwamatsu################################################################# 44