171f95118Swdenk# 271f95118Swdenk# 371f95118Swdenk# See file CREDITS for list of people who contributed to this 471f95118Swdenk# project. 571f95118Swdenk# 671f95118Swdenk# This program is free software; you can redistribute it and/or 771f95118Swdenk# modify it under the terms of the GNU General Public License as 871f95118Swdenk# published by the Free Software Foundation; either version 2 of 971f95118Swdenk# the License, or (at your option) any later version. 1071f95118Swdenk# 1171f95118Swdenk# This program is distributed in the hope that it will be useful, 1271f95118Swdenk# but WITHOUT ANY WARRANTY; without even the implied warranty of 1371f95118Swdenk# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1471f95118Swdenk# GNU General Public License for more details. 1571f95118Swdenk# 1671f95118Swdenk# You should have received a copy of the GNU General Public License 1771f95118Swdenk# along with this program; if not, write to the Free Software 1871f95118Swdenk# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 1971f95118Swdenk# MA 02111-1307 USA 2071f95118Swdenk# 2171f95118Swdenk 2271f95118Swdenkinclude $(TOPDIR)/config.mk 2371f95118Swdenk 24*6d8962e8SSebastien CarlierLIB = $(obj)libfat.o 2571f95118Swdenk 2671f95118SwdenkAOBJS = 2708ab4e17SJean-Christophe PLAGNIOL-VILLARDCOBJS-$(CONFIG_CMD_FAT) := fat.o file.o 2871f95118Swdenk 2908ab4e17SJean-Christophe PLAGNIOL-VILLARDSRCS := $(AOBJS:.o=.S) $(COBJS-y:.o=.c) 3008ab4e17SJean-Christophe PLAGNIOL-VILLARDOBJS := $(addprefix $(obj),$(AOBJS) $(COBJS-y)) 3171f95118Swdenk 3271f95118Swdenkall: $(LIB) $(AOBJS) 3371f95118Swdenk 34f9328639SMarian Balakowicz$(LIB): $(obj).depend $(OBJS) 35*6d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 3671f95118Swdenk 3771f95118Swdenk 3871f95118Swdenk######################################################################### 3971f95118Swdenk 40f9328639SMarian Balakowicz# defines $(obj).depend target 41f9328639SMarian Balakowiczinclude $(SRCTREE)/rules.mk 4271f95118Swdenk 43f9328639SMarian Balakowiczsinclude $(obj).depend 4471f95118Swdenk 4571f95118Swdenk######################################################################### 46