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*f9328639SMarian BalakowiczLIB = $(obj)libfat.a 2571f95118Swdenk 2671f95118SwdenkAOBJS = 2771f95118SwdenkCOBJS = fat.o file.o 2871f95118Swdenk 29*f9328639SMarian BalakowiczSRCS := $(AOBJS:.o=.S) $(COBJS:.o=.c) 30*f9328639SMarian BalakowiczOBJS := $(addprefix $(obj),$(AOBJS) $(COBJS)) 3171f95118Swdenk 3271f95118Swdenkall: $(LIB) $(AOBJS) 3371f95118Swdenk 34*f9328639SMarian Balakowicz$(LIB): $(obj).depend $(OBJS) 3571f95118Swdenk $(AR) crv $@ $(OBJS) 3671f95118Swdenk 3771f95118Swdenk 3871f95118Swdenk######################################################################### 3971f95118Swdenk 40*f9328639SMarian Balakowicz# defines $(obj).depend target 41*f9328639SMarian Balakowiczinclude $(SRCTREE)/rules.mk 4271f95118Swdenk 43*f9328639SMarian Balakowiczsinclude $(obj).depend 4471f95118Swdenk 4571f95118Swdenk######################################################################### 46